Beantwortet
How to set continue function?
You are looking for assert() function. When you condition is satsified assert(1>0,'STOPPED THE CODE!') fprintf('Code continue...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
Foor loop; iteration
You set your tolerance to 1e-2 so your for loop terminates when abs(V-V_Check) becomes less than 1e-2. % here you basically def...

etwa ein Jahr vor | 0

Beantwortet
Figure Output blank but no errors
When you call freqz with outputs, it does not draw a plot as written on the description of the function. So you need to do [h,w...

etwa ein Jahr vor | 0

Beantwortet
How to modify the code to compute data on multiple inputs?
Next time please copy paste the code, not screen shot :D You did not provide full info to get an answer since I have no idea h...

etwa ein Jahr vor | 0

Beantwortet
How to find all the intersecting points between 4 spheres ?
You can use symbolic toolbox for this. However I dont think your 4 spheres intersect. S1 = [1;1;1]; S2 = [2;1;1]; S3 = [1.5; ...

etwa ein Jahr vor | 0

Beantwortet
Understanding the following lines of code
My guess is the code is used to generate a name for a mat file after performing some postprocessing on raw data from 'file_px'. ...

etwa ein Jahr vor | 0

Beantwortet
With ischar usage - I get two different answers
"a" is a string not a char. You use double quotes for strings single quote for char. isstring("a") ischar("a") isstring('a') ...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
Why does my Nx2 matrix turn into a 1x1 when I pass it into a MATLAB Function block
Your matrix you are getting from workspace needs to be Nx3 in your case, where the 1st colum is time, 2nd and 3rd column are you...

etwa ein Jahr vor | 0

Beantwortet
Two colormaps in a figure
This answer might help.

etwa ein Jahr vor | 0

Beantwortet
Defining an improper function in Simulink
Firstly, I do not think you understand the viscous friction model. Ms2+Ws is probably not what you think it is. To answer your...

etwa ein Jahr vor | 0

Beantwortet
How can I plot the graph with the highest, lowest and middle values?
do you know of functions min(), max() and mean()? Example % generate random data t = (0:0.01:10)'; x = exp(-.2*t).*(2+(2*rand...

etwa ein Jahr vor | 0

Beantwortet
How to remove the third to last element of an array?
% put the index to be removed in paranthesis, if you want to remove 99th % index, put 99, otherwise you can use 'end' to mean '...

mehr als ein Jahr vor | 0

Beantwortet
how to make input to the system time variable?
You can create your own numeric integration to solve the equation and provide the desired input in each time step. Here is an ...

mehr als ein Jahr vor | 0

Beantwortet
How can i plot P-H Diagram with two parameter are: Pressure and Temperature( With refrigerantion system)?
You can use 'text' function to add descriptions on a plot.

mehr als ein Jahr vor | 0