Risposto
how to create table Date/Value
The unstack function works here. Try this — LD = load('matlab_data.mat') T1 = table(year(LD.dat),month(LD.dat,'short...

oltre 2 anni fa | 0

| accettato

Risposto
Labelling Curves on a Graph, This code worked a decade ago, but will not work in 2023a
Looking at the current clabel documentation, the second argument to it has to be the second output of the contour call. It is l...

oltre 2 anni fa | 0

| accettato

Risposto
I want to break down my 3d graph into 2d graphs.
The easiest way to do this is with the view function. Use ‘view(90,0)’ for the ‘x-z’ view, and ‘view(0,0)’ for the ‘y-z’ vie...

oltre 2 anni fa | 0

| accettato

Risposto
Fitdist gives wrong answer
The and values are in log units. Calculatee their exponentials — Add=16 %%info given in question 4 River_flood_level=[516...

oltre 2 anni fa | 0

| accettato

Risposto
Question about gain scalar in sos2zp
When I checked that with some code I wrote for a different problem, ‘k’ and ‘G’ are scalars with the same values. Fs = 1E+3; ...

oltre 2 anni fa | 0

Risposto
How to find uncertainties in the coefficients of polyfit
An earlier version of my polyparci function already existed when this question originally posted. It calculates the confidence ...

oltre 2 anni fa | 1

Inviato


polyparci
POLYPARCI calculates confidence intervals for parameters estimated by ‘polyfit’.

oltre 2 anni fa | 4082 download |

4.8 / 5

Risposto
How to find the gradient of plotted values?
Use the gradient function to calculate the numerical gradient/derivative — Fs = 100; L = 60; t = linspace(0, Fs*L, Fs*L+1)/F...

oltre 2 anni fa | 0

Risposto
freqz() magnitude plot behavior for estimated filter coefficients
The third argument to freqz (when the first two are the transfer function coefficients, different with a second-order-section m...

oltre 2 anni fa | 0

Risposto
How to change the graph type
I believe that this is reasonably close — num_simulations = 10000; %Common parameters Discount_Rate_min = 0.06; % assu...

oltre 2 anni fa | 1

| accettato

Risposto
How can I plot the streamlines in all region around the inside sphere ?
One approach is to change the code to add a patch object in this part of it (add ‘pv’ and ‘cv’ and the patch call): set(polar(...

oltre 2 anni fa | 1

| accettato

Risposto
matlab 'unique' is skipping rows with data
I am not certain what the problem is, however if you want to test for more than one value in a row, specify that with the 'rows'...

oltre 2 anni fa | 0

Risposto
How to convert 30s daily data into hourly data using MATLAB?
It would be nice to know what version you are using. Are you supposed to accumulate (for example take the mean) of the data ove...

oltre 2 anni fa | 0

| accettato

Risposto
Script of importing data not working with no warning or error
The function does not produce any outputs. You will need to declare: global ExperimentalIVData in your calling script to g...

oltre 2 anni fa | 1

| accettato

Risposto
Butterworth Bandpass filter implementing
There is actually not enough information provided. However in my experience, a generally accepted sampling frequency for EEG is...

oltre 2 anni fa | 2

Risposto
calculate the volume of a patch object
Perhaps first using alphaShape and then volume will do what you want.

oltre 2 anni fa | 0

Risposto
I cannot get fplot to plot my piecewise function past an x-axis value of 5
The default independent variable limits for fplot are (-5,5). If you want a larger or different independent variable value, te...

oltre 2 anni fa | 0

Risposto
Fit of a function with a weighted sum
@Camilla Bandinelli — Responding to your email, first thank you for clarifying my concerns, especially with respect to the ‘trai...

oltre 2 anni fa | 0

Risposto
csv reading related matter
Thje problem is your not taking full advantage of MATLAB table arrays and everything they can do. Try this — Uz = unzip('2...

oltre 2 anni fa | 0

| accettato

Risposto
Plot label with text function
All the ‘matched_data.intensity’ entries are all set to 1, so they all plot at 1 rather than the peak values. A way to correct ...

oltre 2 anni fa | 0

| accettato

Risposto
Changing colour of regression line in a scatter plot
Using the lsline function to draw the linear regression — x = (0:99); y = 3*x + randn(size(x))*25 + 15; figure plot(x, y...

oltre 2 anni fa | 0

| accettato

Risposto
Polarplot, how to delete outmost circle (axis) and message
The extra circle outside the magnitude 1 circle is the result of specifying this: P.MagnitudeLim=[0 1.05]; If you remove that...

oltre 2 anni fa | 0

| accettato

Risposto
Averaging across subjects EEG
I do not know what your approach is. My approach in Combining repetitive curves into one average curve would likely work with...

oltre 2 anni fa | 0

Risposto
Reading and finding string in a text (.TXT) file containing string and numerical data
The file appears to contain two duplicate horizontally-concatenated matrices, other than for the first column. This is not an e...

oltre 2 anni fa | 0

| accettato

Risposto
i want to export 3d stl format image into matlab and want to see in matlab
The stlread function is another option.

oltre 2 anni fa | 0

| accettato

Risposto
Inconsistent date/time stamps, *possibly* due to time zone
I can’t determine what the exact problem is (I don’t have access to your computer, and I am not certain that I completely under...

oltre 2 anni fa | 1

| accettato

Risposto
How to calculate the highest degree term with its coefficient in this expression with respect to t?
I am not certain that what you want to do is possible. The closest I could get to it is to use a taylor series approximation ...

oltre 2 anni fa | 0

| accettato

Risposto
My lsqcurve fit is not working due YDATA and function value sizes are not being equal. (but they are?)
There were several problems. First, the objective function arguments were reversed, and the data and calculations returned by i...

oltre 2 anni fa | 1

| accettato

Risposto
hello dears, how to fix "quiver3 error V and W must be the same size" error
The value of ‘Bz’ is a scalar, while all the other arguments are (20x20) matrices. Setting: Bz = Bz*ones(size(By)); solves...

oltre 2 anni fa | 0

Risposto
Do not know how to normalize gait cycles from 0-100%
To normalise the time variables within a gait cycle, divide them by the heel-strike time differences in each cycle. The same ap...

oltre 2 anni fa | 0

| accettato

Carica altro