답변 있음
How to correct the recording of a daamaged accelerometer in earthquake analysis
If you have the Signal Ptocessing Toolbox, an alternative approach would be to use the highpass (or bandpass to also eliminiate...

대략 2개월 전 | 0

| 수락됨

답변 있음
How to use previous answer in new calculation n times
Perhaps something like this — A=[0.3 -0.2; -0.6 0.8]; B=[-14;2]; x=[1;2]; y = x; for k = 1:10 y = A*y+B; ym(:,k)...

대략 2개월 전 | 0

| 수락됨

답변 있음
I have purchased the Signal Processing Toolbox but still get an error when trying to use a function
I am not certain what the problem is. imshow(imread('Screenshot 202....49.59 AM.png')) First, run these from a script or you...

대략 2개월 전 | 0

답변 있음
difference between 2 values in a vector
Try this — x = [0.2 0.0 0.0 0.0 0.25 0.0 0.0 0.0 0.3 0.0 0.0 0.4 0.0 0.0 0.0 ...

대략 2개월 전 | 0

| 수락됨

답변 있음
result spectrogram from lowpass filter still pass frequency above the treshold
See if: y=lowpass(yori,10,100, 'ImpulseResponse','iir'); improves the result. .

대략 2개월 전 | 0

| 수락됨

답변 있음
F1(u,v)=0,F2(u,v)=0 with 4 parameters a,b,c,d, 3 of which (a,c,d) are given
a = 1.5; c = 0.4; d = 0.9; b=0.1:0.1:9; syms u v F1 = @(u,v,b) u*(1 - u) - b*u*v/(c*u + 1); F2 = @(u,v,b) 0.5*b*u*v/(c*u +...

대략 2개월 전 | 0

| 수락됨

답변 있음
Unrecognized function or variable 'del'.
That should actually work — tic n = 0; for del=0.0:0.4:pi n=n+1; pe(n)=1.2*sin(del); end toc pe A mnore effi...

대략 2개월 전 | 0

답변 있음
How to make sure that the horizontal axes of two figures align?
If the figures are open at the same time, you can use the linkaxes function. If they are not, you can use xlim one one figure a...

대략 2개월 전 | 0

답변 있음
csv to fft matlab
You cannot calculate the Fourier transfomors without a corresponding sampling frequency or time vector. Assuming the sampling...

대략 2개월 전 | 0

답변 있음
SENSITIVITY ANALYSIS OF A SYSTEM OF AN ODE USING NORMALIZED SENSITIVITY FUNCTION
I am not certain that this does everything you want, however it now has the virtue of running without error — epidemic1 fu...

대략 2개월 전 | 0

답변 있음
what kind of plot is useful for comparing two matrices?
I am not certain that there is any built-in functtion for this sort of problem. One approach — M1 = randn(5) M2 = M1 + ran...

대략 2개월 전 | 1

| 수락됨

답변 있음
How can I connect the upper endpoint of the red curve to the red dot while keeping the curvature nearly the same?
Here are options using pchip, makima and spline — clear all format long warning off figure set(0,'DefaultAxesFontSize',20...

대략 2개월 전 | 0

| 수락됨

답변 있음
error in ode45 - function must return a column vector
It would help to have ‘dirfield’ (whatever it is). The other problem is that with one differential equation, ‘y0’ has to have o...

대략 2개월 전 | 0

답변 있음
How to convert displacment data in time series to frequency domain ie (from Amplitude (m) v/s time (s) to Amplitude (m) v/s Frequency (Hz)) using fourier transform
I wrote a utility function to do Fourier transforms. Try this — A1 = readmatrix('ellipse_r3.xlsx') figure plot(A1(:,1),...

대략 2개월 전 | 0

답변 있음
How to interpolate data as stairs
You answered your own question — stairs. Note that you can get the (x,y) coordinates as outputs from the stairs function if you...

대략 2개월 전 | 0

답변 있음
How to remove noise of low frequency signals
Calculate the fft of the green signal (if you do not already know its spectral qualities), then use it to define the cutoff freq...

대략 2개월 전 | 0

| 수락됨

답변 있음
How to detect the specific area from an oscilloscope signal
Perhaps something like this — jpgs = dir('*.jpg'); csvs = dir('*.csv'); for k = 1:numel(jpgs) figure imshow(imre...

대략 2개월 전 | 1

| 수락됨

답변 있음
Symbolic expression simplification and shortening
The expression is apparently incomplete. Working with what is provided — syms e e1 e2 h1 h2 h3 A B U = 108*A^2*e^7*e1^3*...

대략 2개월 전 | 0

답변 있음
How do I check if there is a function with the same name
The which function can be helpful. which which -all If there are any others in your MATLAB search path, it should display th...

대략 2개월 전 | 2

답변 있음
How to italicize a portion of a plot label while keeping the sans-serif font?
A lot of the LaTeX options do not work in MATLAB because many of the font options are not supported. That aside, use \it to b...

대략 2개월 전 | 0

| 수락됨

답변 있음
Peak coming at 50Hz in every data file. How to get rid of that
If you have the Signal Processing Toolbox, use the bandstop function: Fs = ...; ...

대략 2개월 전 | 0

답변 있음
how can I find the intersect point of 1 plot and a yline ?
Use interp1 for this — x = [0 10 20 30 40 50 60 70 80 90]; y = [0 0.0328 0.2521 0.7975 1.7295 3.0213 4.5714 6.2283 7.819...

대략 2개월 전 | 1

| 수락됨

답변 있음
OBTENTION OF AN ABSORBANCE SPECTRA FROM AN IMAGE
Without some sort of calibration, what you want to do might not be possible, especially if the resolution is only integers on th...

대략 2개월 전 | 0

답변 있음
Indexing of cell array and a vector
One approach — index = {[0], [0], [5], [0], [6, 7], [0], [0], [1], [0], [0], [0], [ 3]} ; data = [100, 10, 20, 15, 11, 25, 2...

대략 2개월 전 | 0

| 수락됨

답변 있음
how to choose windwo size in the EMG signal ?
I am not certain where you read it either, or the rationale for that particular window length calculation. I am not aware of ...

대략 2개월 전 | 0

| 수락됨

답변 있음
How can I read CDF file?
Without having the file to work with, writing specific code to work with it is not possible. Start with the cdfread function...

대략 2개월 전 | 0

| 수락됨

답변 있음
How to store users input in a file?
If you want to read the file, try something like this — % name = input('What is your name? ','s'); % age = input('How old are...

대략 2개월 전 | 0

답변 있음
How do I fit a 3rd order polynomial Basis using fitrgp?
From the documentation, using a table as input: Each row of Tbl corresponds to one observation, and each column corresponds to...

대략 2개월 전 | 0

| 수락됨

답변 있음
Displaying Text on Paper
Without knowing more about this, one option would be to use the axis function to extend the axis limits. Then the text function...

대략 2개월 전 | 0

답변 있음
How to use Matlab to generate a discrete uniformly distributed decimal with a value range of {0, 0.05} and a step size of 0.01?
Perhaps something like this — rv = randi([0 5], 1, 100)/100 figure histogram(rv, 5) grid .

대략 2개월 전 | 0

| 수락됨

더 보기