답변 있음
Not enough input arguments ode45
Don't use the MATLAB's built in function names as a variable name - cd. Why to display all iterations that can be also skipped ...

8개월 전 | 0

답변 있음
Difference between regress function and basic fitting wizard
They both produce the same results: R2 is the same for both. See e.g.: A = randi([-13, 13], 20, 5); B = randi([-130, 130], 20,...

8개월 전 | 0

답변 있음
how to remove drift from noisy acceleration data
There are a couple of critical issues in your code. (1) Sampling frequency is 100 Hz and NOT 1000 Hz. and (2) Low-pass filter sh...

8개월 전 | 0

답변 있음
"Not enough input arguments" error
Variables T and M are also not specified. See how it can be executed: x = 0:13; u0 = ones(size(x)); backward_heat(x,u0) fu...

8개월 전 | 0

| 수락됨

답변 있음
plot the fundamental harmonic wave
Here are two MATLAB fcns (bandpass() and fft()) which can be applied to solve your exercise.

8개월 전 | 0

답변 있음
Using a string variable as a variable name in an equation.
If understood your question correctly, is this what you are trying to solve for: Diff_Value = 3; ELEC = [61 62 64 65 67 68 ...

8개월 전 | 0

답변 있음
How do I make a function work?
There are a couple of critical points: (1) Don't use MATLAB's builtin fucntion names for your own functions that corrupts MATLA...

8개월 전 | 0

답변 있음
I'd like to draw a graph of mechanical vibration with a matlap....
An initial step will be looking at the Runge-Kutta method Runge-Kutta and its implementation in MATLAB - writing a code like THI...

8개월 전 | 0

답변 있음
Change of frequency content after using the retime function
Here is how to solve this issue: load('question_data.mat') dt1 = seconds(test_table.time(2) - test_table.time(1)); dt2 = 0.01...

8개월 전 | 0

답변 있음
Converting 1000 plots in density distribution
Have you seen MATLAB's pdf() function - DOC explains and shows in examples

8개월 전 | 0

| 수락됨

답변 있음
what function should I use to download a text file (.txt) ?
It really depends what is in the *.txt file and how the data formatted (numerical, text or mix, columnwise, rowise, etc.). See t...

8개월 전 | 0

답변 있음
Combine two MATLAB figures with two different y axes
Is this what you want to obtain: fig1 = openfig('qualitatixe Analyse VR ACCx_31_35sek.fig'); fig2 = openfig('qualitatixe Analy...

8개월 전 | 0

| 수락됨

답변 있음
How to store extracted coefficient values from curve fitting of multiple .txt files in index arrays?
It can be done something like this way: Folder = 'C:\Users\...'; % Directory where the files are residing F_Pat = fullfile(F...

9개월 전 | 0

답변 있음
Matlab curve fitter error with exponential form with 2 terms
It is better to fit with log fit. % Interior Square Footage sqftL = [1500 1600 1750 1930 2250]; sqftUtilityL = [0 0.25 0.5 0....

9개월 전 | 0

답변 있음
Matlab curve fitter error with exponential form with 2 terms
It does work very well if the initial conditions are given. Here is how it can be attained: % Interior Square Footage sqftL = ...

9개월 전 | 0

답변 있음
Scope in Simulink - how to "grab" and "drag" cursors
Have you tried to use drop-down option in the Scope block. With a single click on the zoom option (the option is activated), a u...

9개월 전 | 0

답변 있음
How to Extrapolate griddata for contour plot?
Here you can find an appropriate 3rd party fcn called inpaint_nans() that can be employed to subs NaNs in zb. Note that the MATL...

9개월 전 | 0

| 수락됨

답변 있음
how do I add the maximum value of arr into arrSorted within the while loop?
Here is how ti can be attained: clearvars; clc rng(1) a1D = randi([-20,80], 1, randi(20)); a2D = randi([-50, 30], randi(10),...

9개월 전 | 0

답변 있음
Printing coordinate lines by XYZ array in a loop
Most welcome. To add Y and/or Z is quite simple: D = readmatrix('Data2G.csv'); D1 = D'; Xpos =D1(:,1:2); Ypos =D1(:,3:4); Z...

9개월 전 | 0

답변 있음
Printing coordinate lines by XYZ array in a loop
D = readmatrix('Data2G.csv'); D1 = D'; Xpos =D1(:,1:2); Ypos =D1(:,3:4); Zpos =D1(:,5:6); for ii = 1:numel(Xpos(:,1)) ...

9개월 전 | 0

| 수락됨

답변 있음
Unable to read FITS file in Matlab but ImageJ(Fiji) is able to read it
Just looking at the ImageJ imported images from the two FITS files, two points can be made: (1) FITS image data file is not com...

9개월 전 | 0

답변 있음
How to apply a 'custom' colormap to multiple data sets including negative and positive values
As understood your question, this is what you are trying to get: figure set(gcf,'Color','w') % set the background of figure to...

9개월 전 | 1

답변 있음
How to get the coefficients of an equation
Maybe it is appropriate to work in a reverse order, e.g.: syms x1 x2 Coeff = [2;1]; eq = [x1, x2]*Coeff<=0

9개월 전 | 0

답변 있음
how distribuite correctly array in struct
Understood your question correctly and without seeing your data. These commands work ok, e.g.: A = randi(13, 7, 1); DD.Set1 = ...

9개월 전 | 0

답변 있음
My exported EDF file is up to 100 times bigger than my imported EDF file
Without seeing your data files and just quick looking at your code, this can be concluded. You are augmenting data from numberOf...

9개월 전 | 0

답변 있음
Help with reading data from text file in Simulink and use it conduct analysis
There are a few ways it can be attained. One of the quick and easy way, to import a data from the *.txt file in matlab and read ...

9개월 전 | 0

답변 있음
Solving a system of ordinary differential equations
In fact, your solution code is ok but if you look at a bit closer by taking a shorter time span [0, 7] you will see the nonlinea...

9개월 전 | 0

답변 있음
How to replace the data in tif file with my own data by matlab?
If understood your question correctly, this is how to get it solved: D=unzip('Test5.zip'); %% D1 = imread(D{1,1}); DS = load...

9개월 전 | 1

답변 있음
FFT, THD and Fourier equations
You need to have a look at tek0025.csv a bit more careful. Both voltage and current seem to have the same fundamental frequency ...

9개월 전 | 0

답변 있음
FFT, THD and Fourier equations
Note that your different data sets has different fundamental frequencies and other resonant freq values. Besides, some of your d...

9개월 전 | 0

더 보기