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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 1

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

Respondida
Forcing robustfit to return an intercept
Note that ‘Y’ is single precision. MATLAB defaults to the lowest precision, so casting it as double produces a non-zero interce...

más de 1 año hace | 0

| aceptada

Respondida
How can I extract specific weather data from a 3D grid?
Without even representative data, I’m not certain even how to simulate this. I would use the scatteredInterpolant function fi...

más de 1 año hace | 1

| aceptada

Respondida
ODE time vector plot does not correspond to the time vector values
We don’t have your ‘ode_arm’ function, however it may be that ode23 is encountering a singularity () at about 0.9 time units, an...

más de 1 año hace | 0

Respondida
Alternative to ginput for finding curve intersections with unevenly spaced data in MATLAB
Another approach — x = [linspace(0, 2.4) linspace(5.2, 7, 8)].'*1E-3; y1 = [x(x<=2.4E-3)*580/2.4E-3; 500*ones(size(x(x>2.5E...

más de 1 año hace | 1

Respondida
Plot: Dots won't go higher than y=0
If you add: set(gca, 'YScale','log', 'YLim',[10 1E+8]) you will see that the green dots plot appropriately. The y-axis limit...

más de 1 año hace | 0

Respondida
Extracting number after a string in header of CSV file
One approach — C1 = readcell('DummyData.txt') str = {'Memory Length','Horizontal Scale','Sampling Period'}'; idx = cellfun(@...

más de 1 año hace | 0

| aceptada

Respondida
Plot the function on graph
Consiider fplot. I have n o idea what ‘forina’ refers to, however the rest is straightforward — b = 2; y = @(x) sqrt(9*x +...

más de 1 año hace | 0

Respondida
Load data into the "System Identification Toolbox"
Since you have time-domain data, use the iddata function to prepare it for the identification function of your choice. (I prefe...

más de 1 año hace | 0

| aceptada

Respondida
Extracting Zoomed in part of curve and finding rising Edges of data
Depending on the result you want, it might be easier to use islocalmax for this — T1 = readtable('DS0007_REDUCED.CSV') t = ...

más de 1 año hace | 0

| aceptada

Respondida
How to print array value and it's undex?
It would be necessary to print the indices as well — data(6500:6503,:) = [100 105 10...

más de 1 año hace | 0

| aceptada

Respondida
How to make color axis ticklabes with two end limits ([cmin cmax]) only?
One problem may be that your clim call (at least as posted) needs parentheses. This call to clim: cl = clim; should retur...

más de 1 año hace | 0

Respondida
Horizontal Freestream Flow Issues With Symbolic Math Toolbox
The ‘ZData’ matrix from the symbolic code appear to be transposed with respect to ‘psi_vals_fs’. This is likely due to the assu...

más de 1 año hace | 0

| aceptada

Cargar más