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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 1

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 1

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 1

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

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 1

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

oltre un anno fa | 0

| accettato

Carica altro