Beantwortet
Programmatically find fzero of two RCL functions
It seems that the curves don’t intersect. The ‘funcVR’ function never crosses zero, although the ‘funcVL’ function does — f...

24 Tage vor | 0

| akzeptiert

Beantwortet
Finding x and y values of minimum z in 2-variable function.
Is there a particular reason to use that sort of iteration? MATLAB has a number of optimization funcitons you can use, with fmi...

24 Tage vor | 0

Beantwortet
way to legend a data organized into colours in simple plot?
I am not certain what you want. One option — first_data = [[3 4 8 1];[3 6 4 9]]; % desired legend (first) & color (green) ...

26 Tage vor | 1

| akzeptiert

Beantwortet
I'm trying to plot a graph with if than statements but keep getting the error "Array indices must be positive integers or logical values."
The definition of ‘positive integer’ are integers greater than zero. So use: for i=(1:n) instead of: for i=(0:n) There...

26 Tage vor | 0

| akzeptiert

Beantwortet
period segmentation of wrist pulse signal
See: Combining repetitive curves into one average curve for an example. This demonstrates how to segment them and also how to c...

27 Tage vor | 0

Beantwortet
I am receiving an Error using plot
Use the matlabFunction function, evaluate it with ‘t’ and then plot — m1 = 49/1000; m2 = 31/1000; l1 = 0.5; l2 = 0.5; M = ...

27 Tage vor | 0

| akzeptiert

Beantwortet
How to create a sound like this?
Firstt, look to see what their spectrograms reveal — uz = unzip('examples.zip') for k = 1:numel(uz) fn = strrep(string...

29 Tage vor | 0

Beantwortet
graph the function using ezplot() and plot()
Perhaps this — syms x y % 2y^2 = -3x^3+5x , -2.5≤x≤2.5. Eqn = 2*y^2 == -3*x^3+5*x % Add O...

29 Tage vor | 0

Beantwortet
Using Fill between two curves semilog plot
If you are using flipud, you will need to vertically concatenate the vectors (that are presumably column vectors), so instead of...

30 Tage vor | 0

| akzeptiert

Beantwortet
Filtering a Single Column of One Table Based on Multiple Criteria from Another Table.
I’m not sure that I fully understand your problem, however the join function (or one of its friends innerjoin or outerjoin) may ...

etwa ein Monat vor | 0

Beantwortet
Too many input arguments
Plotting over ranges of ‘t’ and ‘u’ defines a surface, so create vectors for both of them, and use either ndgrid or meshgrid (th...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
Edit window does not open in Ubuntu 24.04.2
There seem to be problems with the latest updates to 24.04 with respect to MATLAB. Yours is the third post I have seen on 24.04...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
Suitable function(s) to be used for plotting the graph
Instead of using: plot(t,zz,'o-'), grid use: fplot(zz, [min(t) max(t)],'o-'), grid since ‘zz’ is a symbolic expression and...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
Iam getting the following ERRO: Array indices must be positive integers or logical values on the following code.
You need to create the ‘q’ functions as Anonymous Functions and then call them as functions of ‘t’ in the plot calls. Try thi...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
IFFT of frequency dataset
‘(not starting at 0)’ That’s probably the problem. Essentially your data are then a sort of rectangular-window-bandpass-fil...

etwa ein Monat vor | 0

Beantwortet
Plotting around zero deg. Angle
Aside from not having any image to work with, I am not certain what you want. First use plot to see what the problem may be. ...

etwa ein Monat vor | 0

Beantwortet
MATLAB R2023b gui in ubuntu 24 is not opening files after launch. Displaying some errors and shutdown
According to MATLAB and Simulink Requirements 24.04 is supported. It would be best for you to Contact Support for installatio...

etwa ein Monat vor | 0

Beantwortet
Problems at start in ubuntu 24.04.2
According to MATLAB and Simulink Requirements 24.04 is supported. It would be best for you to Contact Support for installatio...

etwa ein Monat vor | 0

Beantwortet
xlabel and ylabel errors
This is instructive: when I run it brings the following error Index exceeds the number of array elements. Index must not ex...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
Sending Multiple Data to Excel from MATLAB?
If you have R2013b or later, collect the data you want in a table, configure the table the way you want it, and then use the wri...

etwa ein Monat vor | 0

Beantwortet
How to code an equation with that integrates a vector.
Siince ‘u’ is also a vector — u = @(t) [sinh(t); cosh(t); tanh(t)] int_u = integral(u, 0, 1, ArrayValued=true) A = rand B =...

etwa ein Monat vor | 0

Beantwortet
update guess in fsolve
I am not certain what you are actually asking. If possible (if an equation can be plotted), I usually begin by plotting iit t...

etwa ein Monat vor | 1

Beantwortet
I can't run wavedec2() - 'unrecognized function or variable'
You may be having path probleems. Run these: restoredefaultpath rehash toolboxcache from a script or your Command Windo...

etwa ein Monat vor | 0

Beantwortet
time series fitting to statistical moments
‘where a and sigma are unknown parameters’ Beyond that, I am clueless as to any appropriate way to do this parameter estimation...

etwa ein Monat vor | 0

Beantwortet
Distinguish the different curves and identify the points corresponding to each way
Another approach, using the stackedplot (introduced in R2018b) function — T1 = array2table(10*(rand(100,5)+(4:-1:0)), Variable...

etwa ein Monat vor | 1

| akzeptiert

Beantwortet
Why i get error message when trying using lowpass?
Since it seems to be installed, you may be having path problems. Run these from a script or your Command Window: restoredef...

etwa ein Monat vor | 0

Beantwortet
Can I set a datetime locale for readtable in a script?
Note that "dd/MM/yyyy :hh:mm:ss" uses 12-hour format (using hh for the hours) without the AM/PM indicator. To use 24-hour forma...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
Image Processing Toolbox not found despite being installed
Run these from a script or your Command Wiindow: restoredefaultpath rehash toolboxcache If that still does not solve tthe p...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
3d lines plot
Peerhaps something like this — t = linspace(0, 1).'; x = sin(2*pi*t); y = cos(2*pi*t); z = x+y; figure plot3(x, y, z) ...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
Potential flow past an airfoil
Check the File Exchange. When I did and searched on ‘airfoil’, I found: Plot Pressure Distribution (Cp) Over an Airfoil / Aer...

etwa ein Monat vor | 0

Mehr laden