photo

JingChong Ning


Last seen: 7 months ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

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 months ago | 1 answer | 0

1

answer

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 months ago | 1 answer | 0

1

answer

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...

1 year ago | 2 answers | 0

2

answers

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...

1 year ago | 2 answers | 0

2

answers

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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*...

2 years ago | 2 answers | 0

2

answers

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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 = @...

2 years ago | 2 answers | 0

2

answers

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 2 answers | 0

2

answers

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...

3 years ago | 1 answer | 0

1

answer