回答済み
Extract changes on a string
Try this: D1 = load('status.mat'); D2 = load('dates.mat'); status = string(D1.fontes); datestimes = D2.data_tracking_tratad...

14日 前 | 1

| 採用済み

回答済み
ODE and Data fitting
All I can do is to point you in the direction of successful efforts to do what you want. One such is: Parameter Estimation f...

14日 前 | 0

| 採用済み

回答済み
Saving a figure with details
I am not certain what you are asking, so I am assuming you have created a plot of some sort and want to work with it later. I...

14日 前 | 0

回答済み
Incredible symbolic integration problems
It looks correct to me. The int call first simplifies: -1/(1-x) to: 1/(x-1) and then integrates it to get: Q1 = int (...

15日 前 | 0

| 採用済み

回答済み
Why Power of Matrix with decimal values gives really big numbers?
It depends what you want to do. Note that ‘T^20’ multiplies the entire matrix by itself 20 times (although the actual algorithm...

15日 前 | 0

回答済み
Ascending table column labels
Use the compose function (R2016b and later versions): colnames = compose("Cycle %d", 1:size(matrix,2)); Alternatively, use th...

15日 前 | 0

| 採用済み

回答済み
How to design FIR filter with EEG Signal as Input in Matlab?
Use the kaiserord function. There are several examples in Answers (I wrote some of them), although using more recent versions. ...

15日 前 | 0

回答済み
Shade the region between a curve and the vertical axis
I am not certain what you want. Try this: Y = linspace(-1,1,50); V = atan(Y); % R is an array for the radial positions al...

16日 前 | 0

| 採用済み

回答済み
Too many input arguments while plotting
Your friends most likely do not have a variable or user-created function called plot. To find the one on your computer, run t...

16日 前 | 0

回答済み
Findpeaks function won't plot all peaks.
Thje last R-wave is not actually a peak as findpeaks defines it. It is necessary to get creative in order to isolate and defi...

16日 前 | 0

| 採用済み

回答済み
Efficiently Running MATLAB: system specifications?
Two resources are: System Requirements for MATLAB R2019 Product Requirements for MATLAB R2019b With respect to processor...

16日 前 | 0

回答済み
Genetic Algorithm Initial Population Problem in Matlab
This is what I would do: opts = optimoptions('ga', 'InitialPopulationMatrix',[randi([20 80], 50, 5) randi([95 110], 50, 6)*1E-...

16日 前 | 0

回答済み
What capability would you want to see added to the symbolic toolbox in the future?
That the Laplace transforms work with solve and other such functions, and are actually tractable! See for example: this Comme...

17日 前 | 1

回答済み
how to plot two seperate figures the left and right channels
Either: figure plot(t, y(:,1)) figure plot(t, y(:,2)) or: figure subplot(2,1,1) plot(t, y(:,1)) subplot(2,1,2) plot(...

17日 前 | 2

| 採用済み

回答済み
Why does this ode23 simulation not run/plot
Give it time! I shortened ‘tspan’ to 150 elements to see if there was a problem with the code (there isn’t): tspan = linspa...

17日 前 | 0

| 採用済み

回答済み
Random points between lines
On approach: x = rand(1, 20)*20; y = rand(1, 20)*30; figure plot(x, y, '.r') hold on plot([20 20], ylim, '-b') hold of...

17日 前 | 1

回答済み
How to plot properly a 2d fft of data?
Not entirely. The posted image is the plot of the two-sided Fourier transform after using the fftshift function. The result is...

18日 前 | 0

| 採用済み

回答済み
Step response of rc circuit
step

18日 前 | 0

回答済み
(ODE23) Unable to perform assignment because the left and right sides have a different number of elements error
First, pass the extra parameters as arguments. It is best never to use global variables: function dx=boost(t, x, v_in, R, C, ...

18日 前 | 0

| 採用済み

回答済み
How to sweep a sinusoidal signal using the system transfer function?
I am not certain what you want. A Bode plot of a filter with those frequency limits is straightforward, with the freqs functi...

18日 前 | 0

回答済み
scatter plot: x and y vectors must be of the same length -- errors
It is probably not possible to use scatter with a categorical variable. You can do what I believe you want using plot (and a ...

19日 前 | 0

| 採用済み

回答済み
Code error with parameter
I am not certain what you want, however it most likely depends on how you define ‘t’. Example — rg = 0.01; rl = 0.01; s1 ...

19日 前 | 0

| 採用済み

回答済み
how do i correct my q command
Do element-wise multiplication (the dot operator): q=pi*m.^2.*n; ↑ ← HERE

19日 前 | 1

回答済み
Creating a function for derivative.
See if the polyder function will do what you want.

19日 前 | 0

回答済み
4th order non linear differential equation
‘I want to plot ode and not the sum of D ,D2f,D3f, D4f I want to plot the ode as one solution’ Then try this (using my prev...

19日 前 | 0

| 採用済み

回答済み
IIR Bandstop (Notch) Filter design
I have absolutely no idea what ‘2.01’, ‘2.02’ and ‘2.03’mean. Here is a prototype bandstop filter design that you can change ...

19日 前 | 0

| 採用済み

回答済み
what matlab tool to use to estimate a system of nonlin ODEs' parameters for an experiment?
See my Answer to your related Question (four minutes earlier): How to estimate parameters for a system of ODE's by using replica...

20日 前 | 1

回答済み
How to estimate parameters for a system of ODE's by using replicates data ?
There are several examples, two being: Parameter Estimation for a System of Differential Equations and of course Monod kinetics...

20日 前 | 1

回答済み
what are the units when we plot the absolute of fft
‘Is it Hz or rad/sample?’ Both, depending on the chosen interpretation. The ‘sampling frequency’ (‘Fs’) of the vector is by ...

20日 前 | 0

回答済み
Plotting the solution to a system of ODE on an interval that doesn't contain the initial time
‘Is the command w0 = [z(1) z(2)]; correct?’ No, not if you want to do what you indicated. If you want to use the last val...

21日 前 | 0

| 採用済み

Load more