Respondida
How to expand a matrix and interpolate between values?
This is frustrating. The seconds function should automatically convert the hours to seconds and change the unit as well. T...

9 meses hace | 1

Respondida
closed countour around a given point
This will detect and plot all the closed contours (in addition to a second one at level 12 that does not actually meet the close...

9 meses hace | 0

| aceptada

Respondida
Legend not working in 2024 as it did in Version 6.1.
Ii cannot get the code to run here. Change the legend call to: legend([hw,hmedw(1),hmeanw(1)], 'Weight','Median','Mean', 'L...

9 meses hace | 0

Respondida
Cell array Filtering when using readlines
Try something like this — % data = % 884×1 cell array data = { ... {[" 190 190.03 190.06 190.09 190.12 ...

9 meses hace | 1

Respondida
I'm having trouble understanding the frequency normalization of the fir1 function regarding how the units match up.
1) The 0 to pi range represents the normalised radian representation of the Nyquist frequency, half the sampling frequency. The...

9 meses hace | 0

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

9 meses hace | 0

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

9 meses hace | 0

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

9 meses hace | 1

| aceptada

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

9 meses hace | 1

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

9 meses hace | 0

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

9 meses hace | 0

| aceptada

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

9 meses hace | 0

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

9 meses hace | 0

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

9 meses hace | 0

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

9 meses hace | 0

| aceptada

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

9 meses hace | 0

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

9 meses hace | 0

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

10 meses hace | 0

| aceptada

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

10 meses hace | 0

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

10 meses hace | 0

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

10 meses hace | 0

| aceptada

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

10 meses hace | 0

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

10 meses hace | 1

| aceptada

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

10 meses hace | 0

| aceptada

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

10 meses hace | 0

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

10 meses hace | 0

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

10 meses hace | 1

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

10 meses hace | 0

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

10 meses hace | 1

| aceptada

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

10 meses hace | 1

Cargar más