已回答 fitting curve for Simulink
You can use the Matlab Function block and define the function as per your need :
function y = process_pid_output(u)
if u ...
1 year 前 | 0
已回答 How to rotate a T-Junction using MATLAB code?
To rotate the T-junction block in Simulink/Simscape so that the C port is on the left, you can use the command 'set(gcb,'orienta...
已回答 Problems using Plot function
If you want to plot all A B C on the same plot you can use hold on like this :
A=[1.1,1.2,1.3];
B=[2.1,2.2,2.3];
C=[3.1,3.2,3...
1 year 前 | 0
已回答 Plot data and keep the maximum values
you can try and fit a regression line to the scatter plot of your data to obtain a simple curve that approximates the trend in y...
已回答 Solving a complicated symbolic equation
You can do the following :
syms x;
A = 3;
B = 9;
solution = vpasolve(B*x*sinh(x)==A, x, 1)
The vpasolve function allows yo...