Answered
How to download the older release R2024A of MATLAB for Linux (RHEL 9)?
When I installed R2024b on this laptop (Ubuntu 22.04.05 LTS) recently, I first went to Download Products and then let the insta...

11 months ago | 0

Answered
how to print a table with hearders all aligned to the center of each column
The easiest way is to use a table array. x =1:5; y= x.^2; z = x*20; xyz_table = table(x(:), y(:), z(:), VariableNames={'x-...

11 months ago | 0

Answered
yticks function gives error with subplot function
You probably have a variable named ‘yticks’. Run this in a script or your command window — which yticks If you get anythin...

11 months ago | 0

| accepted

Answered
Got error in resample function
An alternative approach could be to creeate a timetable and then use the retime function — load handel.mat y = y(:) Fs = 819...

11 months ago | 0

Answered
replace NaN value without disturb or remove important peak
One option is to use the fillmissing function and then plot the filled segments appropriately — M1 = readmatrix('41679.2500000...

11 months ago | 0

Answered
how can I add a point in figure?
Probably the easiest way — figure % surf(...) % view(0,90) hold on plot3(70.00, 0.30, 1, 'sr', MarkerFaceColor='r') hold ...

11 months ago | 0

| accepted

Answered
I am getting the error as " Not enough input arguments " and " Failure in initial objective function evaluation. FSOLVE cannot continue". Please suggest me possible solutions.
Note that ‘F’ is the output of ‘root2d’, however ‘F’ is nowhere defined as a calculation result in that code: function F = roo...

11 months ago | 0

Answered
I need to rotate my 3D figure
It would be easier to use patch for this. Try something like this — % clc,clearvars, % close all % Example X and Y data...

11 months ago | 1

| accepted

Answered
How can i solve 3 parameters of Weibull distribution under with initial data? like nonliear equation? Or do we have any method for estimate 3 parameters distribution from fail
The Statistiics and Machine Learning Toolbox norrmally fits a two-parameter Weibull distribution, howeer fitting a three-paramet...

11 months ago | 0

| accepted

Answered
True Amplitude of the FFT of accelerometer data?
You apparently want your ‘time’ vector to be in milliseconds, however you do not convert it to milliseconds. This approach co...

11 months ago | 0

Answered
Correct way to calculate the dominant frequency of time series signal?
If you want to see how the frequencies evolve over time, use the pspectrum function (or spectrogram, however spectrogram returns...

11 months ago | 0

Answered
How can i use two seperate functions to give one output?
That depends on what the function arguments are, and what ‘one output’ is. A bit more detail would help significantly! Exa...

11 months ago | 1

Answered
Can I get notification when a new version (e.g., 2025a) is released?
I ususlly get e-mails about new releases, however they are usually several days after a release is actually available. I’ve fou...

11 months ago | 0

Answered
How can I fill the area under the data fully?
I am more familiar with patch than area, so I went with what I’m good at. I replaced the area call with: Lv = ~isnan(EY1); ...

12 months ago | 1

| accepted

Answered
why does this not work?
need to separate the elements of the array (that I changed to a cell array here). Then, it works — x = {'0:07.50' '2:03.91...

12 months ago | 1

Answered
Filtering Noisy GPS Altitude
Filtering the data might be your best option, unless you can determine the causes of the discontinuities and fix that. There ...

12 months ago | 0

| accepted

Answered
yyaxis limit for lines in one graph
I doubt that it is a limitation, simply yyaxis doing its best to make the lines distinct. You can specify them yourself with th...

12 months ago | 0

| accepted

Answered
how can I convert linear figure's axis to logarithmic?
I am not certain what the problem is, however you can change the ruler properties with the Exponent property. N = 100; x = l...

12 months ago | 0

| accepted

Answered
Finding one real solution with vpasolve
When in doubt, plot the function. Doing that here reveals that it appears to be zero at only one point, that being 0. % Pa...

12 months ago | 0

| accepted

Answered
How to determine which of several vectors is larger?
One approach to getting the maximum number of elements and the index — ATime = linspace(0, 1, 1000).'; BTime = linspace(0, 1,...

12 months ago | 0

Answered
how can I save a variable to an excel file?
Try something like this — ST_normalized = complex(randn(10,1), randn(10,1)) writematrix([real(ST_normalized), imag(ST_norma...

12 months ago | 0

| accepted

Answered
Assistance solving unknowns in transfer function?
I would use the partfrac function — syms s H = 8/((s^2+4)*(s+1)*(s+4)) Hpf = partfrac(H) You will likely need to inter...

12 months ago | 1

| accepted

Answered
Convert chars into formatted numbers
I am not certain what result you want. Try something like this — % ... Parse the .header file to get variable names (.Names...

12 months ago | 0

| accepted

Answered
Excel Data preprocessing from a scattered one into an organised table
I am not certain what result you want. This approach first eliminated columns that are completely empty, then eliminates the ...

12 months ago | 0

Answered
How to make str2double recognize comma delimited numbers?
It depends on what the actual numbers are. You can likely simplify this to use only '\d*' if they are only integers. One app...

12 months ago | 1

| accepted

Answered
What computer should i buy to install matlab
To start with, see: System Requirements for the release you want to use. There was a recent discussion on this in Intel vs AM...

12 months ago | 0

Answered
Creating an array of maximum values from differents tables
Your current code creates the variable ‘CSC’ and then takes the maximum of selected rows of ‘C5R’. I changed that, although not...

12 months ago | 0

| accepted

Answered
How to determine number of patients in the category
Use the accumarray function. Try something like this — imshow(imread('Screenshot 202....55.14 PM.png')) BMIC = ["Underweig...

12 months ago | 0

Answered
How can I assign similar colors to match two grouped bar chart?
Use the CData property of each bar. Try this — % MATLAB Live Script to plot a bar graph from CSV data % Read the data fr...

12 months ago | 0

| accepted

Answered
How to fix a code?
I believe it was getting confused by two different uses of ‘t’ in the ode45 argument list. When I added ‘t_vector’ and used tha...

12 months ago | 0

Load more