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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

Respondida
Match name to axis value in chart
Apparently, you want to put all the labels in the negative part of the y-axis. Try this — load('matlab_pl.mat') stem(p...

más de 1 año hace | 0

| aceptada

Respondida
How to Change the Font Size of MATLAB 2024b UI in Ubuntu 24.04.2 LTS?
Right-click on any area of the desktop background. This brings up a menu. Click on Display Settings, then Displays. Choose t...

más de 1 año hace | 0

Respondida
Error Plotting Magnitude Spectrum of Fourier Transform With fplot
Your code just needed to be tweeaked a bit. I changed the plot lilmits to show more of the function. Try this — syms t w ...

más de 1 año hace | 0

| aceptada

Respondida
help with nested loops
You don’t actually need nested loops (or for that matter, any loops) to calculate those in MATLAB. Texplore=[0 100 200 300 40...

más de 1 año hace | 0

| aceptada

Respondida
Graph with raw data points for four groups in three treatments
Your best option may be the swarmchart function. There are related versions (inicluding one in the Statistics and Machine Learn...

más de 1 año hace | 0

Respondida
graphreader tool to extract values from graph images
There are some File Exchange conntributions that can do that. Two that appear to be well-regarded are Graph Digitizer and the...

más de 1 año hace | 0

Respondida
EEG sequencies visualization ideas
Based oin your description, my choice would be tiledlayout. It would be relatively straightforward to put each sequence in a ve...

más de 1 año hace | 0

Respondida
Curve Fitting Young's Modulus for Stress Strain Curve
I am not certain what you want to do. To fit the initial linear portion of the curve, you can either usee polyfit or mldivide, ...

más de 1 año hace | 0

Respondida
How to calculate the period of the 6th wave in my data when I dont have the equation of the wave
I’m not sure what the ‘6th wave’ is. The problem is that you need to give findpeaks a bit more information. Here, I added Mi...

más de 1 año hace | 0

Respondida
How can I use Interp1 here instead of ismembertol?
That might be possible. The interp1 function requires two vectors of equal size, and then returns the interpolated value of the...

más de 1 año hace | 0

| aceptada

Respondida
How can I change a variable and collect an vector of outputs?
One approach is to define a vector of ‘V’ values and then iterate. Try something like this — % process Parameters V = 10 %...

más de 1 año hace | 0

| aceptada

Respondida
How to automate creating separate timetables?
Creating separate variables for each one is definitely not recommended. One option would be to create them as cell arrays, fo...

más de 1 año hace | 0

Respondida
toolbox functions not working
Sometimes this can be due to path problems. Running these: restoredefaultpath rehash toolboxcache from a script or you...

más de 1 año hace | 0

Respondida
How to flip a scatter3 plot?
I am not quite certain what you want. Perhaps this — xyz = rand(50,3) figure scatter3(xyz(:,1),xyz(:,2),xyz(:,3),25,xyz...

más de 1 año hace | 0

Respondida
Getting error installing Matlab on Linux
See this recent search for potential solutions.

más de 1 año hace | 0

Respondida
Fittg covid 19 SEIRD model
See: Parameter Estimation for a System of Differential Equations among other examples on how to do this.

más de 1 año hace | 1

Respondida
Why do I get conj(L)
The Symbolic Math Toolbox assumes all variables are complex, so it adds the conj to be complete. Specifying that the variables ...

más de 1 año hace | 0

| aceptada

Respondida
how to plot a certain level in a contour?
Extracting the contours for a specific level is straightforward. Try this — [x,y,c] = peaks(20); cilevels = [0.0,.005,0.01...

más de 1 año hace | 0

| aceptada

Respondida
How do you return computational time and memory allocated during function call?
There are a few functions you can use for timing, one of which is the tic, toc pair. Most current recommendations are to use du...

más de 1 año hace | 1

Respondida
how to plot (0 1) matrix on figure
I am not certain what you intend by ‘dot plot’, however the spy function exists to do just that, if you only want to depict the ...

más de 1 año hace | 0

| aceptada

Cargar más