Réponse apportée
Different results for iFFT when doing it for a matrix of spectra versus iFFT done spectra by spectra
Check your data. They prodcue the same results - see e.g.: x=linspace(-pi, pi, 200); y=linspace(-2*pi, 2*pi, 200); Z = exp(si...

plus de 2 ans il y a | 0

Réponse apportée
PLEASE HELP! How to align or adjust 4 figures showing sensor data?
According to the figures that attached to your post without looking at your code: initial observations are: (1) Sensor readin...

plus de 2 ans il y a | 0

Réponse apportée
how to make upper triangular matrix easlily by pivoting(Gauss elimination)
Have you seen these shared codes in MATLAB file exchange: https://www.mathworks.com/matlabcentral/fileexchange/12752-method-of...

plus de 2 ans il y a | 0

Réponse apportée
Goto and from tags in the model display -T-
Use set_param() command from the MATLAB command window or script (M/mlx-file Editor). See the help for the command syntax: DOC ...

plus de 2 ans il y a | 0

Réponse apportée
How can I fix my error for x = a; displaying not enough input arguments?
You can execute your fcn using this syntax within one M-file: FUN = @(t)(1/2+2*sin(2*t-pi)); % Define your problem exercise fo...

plus de 2 ans il y a | 0

Réponse apportée
Report error line from a P-coded file
You may consider Jan's proposed solution by creating a function file as given in this thread.

plus de 2 ans il y a | 0

Réponse apportée
Simulink and Matlab's sim command give different results
It should not happen unless there are inconsistencies with the input variables and output variable settings. (1) What you are r...

plus de 2 ans il y a | 1

Réponse apportée
Locating any point from a meshgrid
If understood your question correctly, in this exercise, use hold on and find the intersection points of the two. There are a f...

plus de 2 ans il y a | 0

Réponse apportée
ploting Mitagg leffler function
As shown in one of the matlab exchange, edit this below shown function file using your own input variables, viz. k, z, alpha, be...

plus de 2 ans il y a | 0

Réponse apportée
Hello! Could someone kindly assist me in comprehending the purpose and operation of the system shown below?
This subsystem has two input signals: Voltage Input (Vin) and Reference (Vref). The sum of Vin and Vref is multiplied by a gain ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
ploting Mitagg leffler function
Follow this approach. Let's say you'd need to plot: f(a, b, t) = a*exp(cos(b*t)) using a nested function. a = 2.13; b = 3.5; ...

plus de 2 ans il y a | 0

Réponse apportée
text to excel for GRIMM data
There are a few good MATLAB functions that can be employed to import your data into MATLAB and then export into MS Excel (.xls, ...

plus de 2 ans il y a | 0

Réponse apportée
how refresh chart in the function?
Use refresh() function to get your plot refreshed - See DOC

plus de 2 ans il y a | 0

Réponse apportée
delete all the decimal digits that are 0 after the first decimal place
Here is one slightly different option: V = [ 6.20000000000000 7.50000000000000 9 10.2000000000000 9.40000000000000]; for ...

plus de 2 ans il y a | 0

Réponse apportée
readtable(html file) producing extra empty columns
Can you share your sample data?

plus de 2 ans il y a | 0

Réponse apportée
Can someone please explain why my function wont plot correctly
You'd need to take a bit small step size for t to make your plot look like a sine wave: clear all dt=0.1; t=0:dt:10; fig1=0....

plus de 2 ans il y a | 0

Réponse apportée
how to give initial condition to simulink function variables
A general answer is Yes. But what function you are talking about - could you please mention here? MATLAB function block or MATLA...

plus de 2 ans il y a | 0

Réponse apportée
log-log plot
If understood your posted question, this is how to solve this issue using reverse X-axis data: Q = importdata('DATA_IN.txt'); ...

plus de 2 ans il y a | 0

Réponse apportée
polynomial fit for a schottky diode and evaluation of its characteristics (ideality factor, barrier height and I0)
If understood your question correctly, here is how it can be simulated: D=load('ST_n_293K.txt') ; xdata=D(:,1); % v (riga, col...

plus de 2 ans il y a | 1

Réponse apportée
What should go in a next-generation MATLAB X?
I have a couple of wishlists: # 1. Machine Learning applications should have a few features to extract/store the simulation res...

plus de 2 ans il y a | 0

Réponse apportée
Run Simulink Model iteratively from .m code
This exercise of yours can be done in a few different ways. (1) Store time steps (time array) along with the input data in a ce...

plus de 2 ans il y a | 0

Réponse apportée
Where can I find this block?
This is the Translational Electro-Mechanical Converter Block that can be found/accessed: Simulink ->Simscape -> Foundation Libra...

plus de 2 ans il y a | 0

Réponse apportée
Understanding the FFT options
Here are a couple of correcttions to be made in your code: ... Fs = 160; % Sampling frequency ...

plus de 2 ans il y a | 0

Réponse apportée
why does the function in my programming get an error with the description 'Not enough input arguments.'?
What Torsten has suggested is somewhat like this one. And addionally, it is better to have two input arguments (to be called, or...

plus de 2 ans il y a | 0

Réponse apportée
floor((I3(i,j-1)+I3(i-1,j))/2)
To get the displayed data w.r.t your format specs: ANS = 192.5; % One decimal point fprintf('Solution = %.1f \n', ANS) % OR...

plus de 2 ans il y a | 0

Réponse apportée
Integrate a matrix over a surface
Numerical integration can be done using trapz() fcn: see DOC Regions in your exercise: x = [xmin, xmax], y = [ymin, ymax];

plus de 2 ans il y a | 0

Réponse apportée
How to remove the vertical lines of band gaps?
If I understood your question correctly, one of the possible easy solutions is to use logical indexing to remove those data poin...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to fill area under the stairstep graph plot in MATLAB ?
Hi, Here is how you can solve this exercise (use your MS EXcel file, then no warnings will pop up!): FZ = unzip('Final Filte...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to find the smoothing parameter used by csaps
Actually, when you empoly the fcn csaps(), you should specify the smoothing parameter value (p), e.g.: pp = csaps(x,y,p) pp = ...

plus de 2 ans il y a | 0

Réponse apportée
Matlab will not process my equation - what’s wrong? TIA p = (-(2.2(1 – p/2)²) ± √((2.2(1 – p/2)²)² - 4(1 – p)³(-2,100 billion))) / (2(1 – p)³)
One more point, you've entered: ... 2,100,000,000 which is not read by amtlab as you're expecting it to read. You'd need to ind...

plus de 2 ans il y a | 0

| A accepté

Charger plus