Community Profile

photo

Randy Chen


Last seen: 15일 전 2020 이후 활성

Statistics

  • Thankful Level 2

배지보기

Content Feed

보기 기준

질문


How is the transfer function determined for a PID controller
I'm reading a tutorial on PID controller, and the transfer function for a mass-spring damper system is given as follows: wh...

27일 전 | 답변 수: 1 | 0

1

답변

질문


converting symbolic function to numerical representation for integration purpose
Below are my codes attempting to compute numerical integrals using Lagrange polynomials clear all nvect=[5,15,30,50]; fcn=@(x...

5달 전 | 답변 수: 1 | 0

1

답변

질문


how to solve an equation iteratively?
I need to solve the following equation and get a real number: Below are my codes. When doing this, the solution returned are a...

5달 전 | 답변 수: 1 | 0

1

답변

질문


how to plot a function symbolically?
I would like to plot the following function: where g is the only known constant = 9.8. How should I plot this function z(r)...

8달 전 | 답변 수: 3 | 0

3

답변

질문


plotting two legends on the same plot
I have trouble plotting two legends for two lines on the same plot . Here are my codes: p = linspace(0,1,50); v = -290*9.8*log...

8달 전 | 답변 수: 1 | 0

1

답변

질문


how to select a row of data from a csv file that is imported into Matlab?
I need to read in a csv file and utilize a function that is built into matlab: [a,ecc,incl,RAAN,argp,nu,truelon,arglat,lonper] ...

9달 전 | 답변 수: 1 | 0

1

답변

질문


i got some issues trying to integrate a function symbolically
I'm trying to symbolically integrate this function, but it's not working: >> syms x y s >> fun = y/((x-s)^2+y^2); >> int(fun,...

9달 전 | 답변 수: 1 | 0

1

답변

질문


integrating function from -inf to +inf
I'm trying to integrate the following function from -inf to +inf with repsect to x. fun = @(x) -3.*v.^2 -4.*v.*a./((x.^2+a.^2)...

9달 전 | 답변 수: 1 | 0

1

답변

질문


contour plot of stream function for a tornado
I have a stream function for a tornado and I watned to plot it using contour function, but it's not working: m1=-3000; m2 = 58...

9달 전 | 답변 수: 1 | 0

1

답변

질문


plotting concentric circles using contour
I'm trying to plot a few concentric circles with the following codes, but what I get is an ellipse, i don't know why: [x,y] = m...

9달 전 | 답변 수: 1 | 0

1

답변

질문


I got a matrix dimensions error while plotting a pressure field
I got this error while trying to plot a pressure field. I have pressure P in terms of x and y: [X1,Y1] = meshgrid(0:0.01:3,0:0....

10달 전 | 답변 수: 1 | 0

1

답변

질문


Plotting a rankine half body
I'm trying to plot a rankine half body, a flow field formed by superposition of a horizontal uniform flow and a source flow. The...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Converting values in eigenvector to rational forms that include square roots
I tried computing the eigen vectors and eigen values for a 3x3 matrix, but the result is given in fractions after I used format ...

10달 전 | 답변 수: 1 | 0

1

답변

질문


Problem with plotting vector fields
I keep getting this error while trying to plot a vector field: [X,Y] = meshgrid(2:10,2:10); U = X/(X^2+Y^2); V = Y/(X^2+Y^2);...

10달 전 | 답변 수: 1 | 0

1

답변