已回答
Full-wave rectified sine wave with gaps
One approach — Fs = 1000; L = 1; t = linspace(0, Fs*L, Fs*L+1).'/Fs; s = abs(sin(2*pi*t)); idx8 = numel(s) / 8; t8 = ...

1 year 前 | 0

已回答
Combining Similar Time Arrays into a Single Updated Time Array
There are some core MATTLAB approaches for this, depending on the result you want. You would have to convert them to timetabl...

1 year 前 | 0

已回答
How we can do sub-plot in one graph ?
With respect to adding element-wise operatioons to your code, use the vectorize function. The note says ‘(Not recommended)’ how...

1 year 前 | 1

| 已接受

已回答
Breaking legend into several parts and moving parts as necessary to prevent overlapping graphed data.
I doubt that it is possible to break up the legend or have more than one legend in an axes object. There are a few options yo...

1 year 前 | 1

已回答
Unable to install Add-on in Ubuntu 22.04
I am not certain what the problem may be, however the problems I encountered with MATLAB updates were due to the update installe...

1 year 前 | 0

已回答
How do I export data to a file?
If the data are in a matrix that are assigned to one or more variables, first use the save function to save t he variables to a ...

1 year 前 | 0

| 已接受

已回答
installling matlab 2023b in unbuntu 24.04
MATLAB R2023a does not suport Ubuntu 24.04. It does support Ubuntu 22.04 and some earlier releases. Check the Platform Roadm...

1 year 前 | 0

已回答
I'm new to matlab i want to estimate kinetic parameter from experimental data.
If you have defined your own objective function, one option is: Parameter Estimation for a System of Differential Equations. ...

1 year 前 | 0

已回答
I am running Ubuntu 24.04 and can not intall any matlab before version R2024b
According to the System Requirments for R2023a, the latest Ubuntu release it supports is 22.04. Only MATLAB R2024a and R2024b s...

1 year 前 | 0

已回答
Problems encountered when using sph2cart
Your data do not vary much. Also, what are the uints for ‘angle_phi_theta’ ? They appear to be more like degrees than radians ...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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-...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 1

| 已接受

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 1

已回答
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...

1 year 前 | 0

已回答
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); ...

1 year 前 | 1

| 已接受

已回答
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...

1 year 前 | 1

已回答
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 ...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

| 已接受

已回答
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,...

1 year 前 | 0

加载更多