Community Profile

photo

Shi Yuhao


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


problem about the scipt
clear all l = 25 E = 200*10^9 I = 350*10^-6 w = 6*10^3 x = input('enter length of the beam') ...

10 years ago | 1 answer | 0

1

answer

Question


How to use if statement to test if it is a integer and real number?
x = input('enter the number: '); if isreal(x) else delete x if isinteger(x) delete ...

10 years ago | 2 answers | 0

2

answers

Question


how to change it?
i =0; while (i<10) i = i+1; x = input('enter the number'); if isreal(x) ...

10 years ago | 1 answer | 0

1

answer

Question


Ask for help to solve the question.
write a script to input an integer number between 0 and 255, and output the number to the screen between the characters '< ' and...

10 years ago | 1 answer | 0

1

answer

Question


question about surf function
t = linspace(0,2,100) x = linspace(0,10,100) [X,T]=meshgrid(x,t) U = 10*sin(2*pi*(t-x/5))+2*sin(2*pi*(t+x/5)) surf(X,T,U) ...

10 years ago | 1 answer | 0

1

answer

Question


What's wrong with this script?
t = linspace(0,2,100) x = linspace(0,10,100) U(t,x) = 10*sin(2*pi*(t-x/5))+2*sin(2*pi*(t+x/5))

10 years ago | 2 answers | 0

2

answers

Question


use the nested loop to calculate the kronecker product for different size
A = round((rand(2)*11-5.5)) B = round((rand(3,4)*21-10.5)) calculate the kronecker product of AB

10 years ago | 2 answers | 0

2

answers