photo

JingChong Ning


Last seen: 7 mois il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


A way to generate and track a random trajectory/pathway in 3d space
I am doing a project where I need to use Simulink to simulate a "laser mosquito shooter" (https://www.preprints.org/manuscript/2...

9 mois il y a | 1 réponse | 0

1

réponse

Question


Level-2 S-function: finding the correct input value and type
I used chatgpt to write a code for a s-function block for a system of 2 ODEs. It is suppose to have an input and two outputs. Th...

12 mois il y a | 1 réponse | 0

1

réponse

Question


How to put the fis I designed in Fuzzy Logic Designer App to Simulink?
I am trying to create a fuzzy logic system and have created the file. I specified the range and shape of the input and out put m...

environ un an il y a | 2 réponses | 0

2

réponses

Question


How to display matrices in cell array in a table?
I have a cell array, and each element of the cell array is a matrix. But when I use cell2table to show the array, the table only...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


Solve inequality in MATLAB (with answer probably be x could be any real number)
I am trying to set up a solver for a symbolic matrix so its eigenvalue could be positive. This is my matrix [x^2+2 1; 1 1]. sym...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Warning: Error updating FunctionLine. for fplot
I am trying to create a function that summed up a bunch of other functions. y1 = 0; addi = 0.05; aoamid = (2*0.6*sqrt(1-((y1...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


Same calcuation, but hand-result is different from code result
I have this code: aoamid = (2*0.6*sqrt(1-((0)/4)^2)/(pi^2)+0.6/(8*pi)) CLnew = (aoamid+0.01)/(2*sqrt(1-((0)/4)^2)/(pi^2)+1/(8*...

presque 2 ans il y a | 2 réponses | 0

2

réponses

Question


Error: Operator '*' is not supported for operands of type 'function_handle'.
This is my code: cb = 1/5.25; %reverse of aspect ratio cla = 2*pi; %the slope of lift vs aoa aa = 5*pi/180; % radiant value o...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


The "solve" system is not solving my variables
I have a for loop creating a super equation that is the sum of a group of equations that could use variables A1 to A7. Each loop...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


Why my symbolic result of eigenvalue doesn't match my numeric result?
I have a set of three points, . As well as a matrix [2, 0, 0] [0, 2, 4*z2] [0, 4*z2, 4*y2 + 2] I need to fi...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to present this equation for plotting
I have this equation: that I need to input into matlab for plot into a surface. However, I am not sure whether I should use p...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


Why my function is not vectorized
This is my code: dv = [1 5 10 20 50]; vc = sqrt(0.8*200*2*365*24*3600)/1000; figure for i = 1:5 dvc = dv(i); f = @...

presque 2 ans il y a | 2 réponses | 0

2

réponses

Question


Unexpected output from simplify()
I have this code, looking for the derivative of this equation syms mp dv vc c expr2 = (1-((c^2)/(vc^2))*(exp(dv/c)-1))/(exp(dv...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


Cut off a Curve created by "curve fit"
I have 3 data point that I need to curve fit a 5th order polynomial to. I used the "fit()" function, but the homework requiremen...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How do you integrate a very long equation on MATLAB?
I have a very long equation (yuse*p) that I need to integrate over. However, as you can see, the code is not returning my values...

environ 2 ans il y a | 2 réponses | 0

2

réponses

Question


I get "empty syms" solution when solving inequalities
I am trying to solve the following inequality. I have done similar inequality and they all worked out fine, could anyone tell me...

presque 3 ans il y a | 1 réponse | 0

1

réponse