JingChong Ning
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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*...
1 year 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0