Answered
How graph second order differential equations with Matlab?
The problem is that you need to define an initial condition for the first derivative. Try this: syms y(x) Dy = dif...

9 years ago | 1

| accepted

Answered
How Graph differential equations with Matlab
The integrated equations produce results that are pure imaginary. You have to plot the real and imaginary parts of each solutio...

9 years ago | 3

| accepted

Answered
How do I take the results of a function and introduce them into another?
It is difficult for me to understand what you want to do, since you have not described it. You have not called *|‘img_shift...

9 years ago | 0

| accepted

Answered
Pass multiple images in cell array through cellfun
Since *|‘findDeflection’|* has a formal *|funciton|* definition, you have to create a function handle to it with the *|‘@’|* sig...

9 years ago | 0

| accepted

Answered
Compute Std with a time interval of 60sec
How you approach this depends on what you want to do. If you have *|R2016a|* or later, you can use the <https://www.mathwor...

9 years ago | 1

| accepted

Answered
solving an equation recursively
Yes. Use a <https://www.mathworks.com/help/matlab/ref/for.html *|for|*> (link) loop. This seems to be _homework_, so I’ll ...

9 years ago | 0

| accepted

Answered
I want to create a function with A and B as vector inputs in MATLAB
This seems like _homework_. On the possibility that it is not, try this: org = [0 0]; ...

9 years ago | 0

Answered
Phase shift between two signals with cross-correlation
You will have to experiment with your signals to see if filtering them is necessary. If you get acceptable results without filt...

9 years ago | 0

| accepted

Answered
Change histogram y-axis to percentage [R2017b]
I’m not certain what you’ve already done. The *|'YTick'|* values are available, and you can modify them as you would with a...

9 years ago | 2

Answered
PLZZZ HELP BAND STOP FILTER
<https://www.mathworks.com/help/signal/ref/designfilt.html *|designfilt|*> (link)

9 years ago | 0

| accepted

Answered
Data must be a single matrix Y or a list of pairs X,Y. Need help on plotting 3D graph!
Use the <https://www.mathworks.com/help/matlab/ref/plot3.html *|plot3|*> (link) function instead: plot3(y1,y2,t),xlabel('x...

9 years ago | 1

| accepted

Answered
could anyone help me to solve the error
I do not see a reason to use the Symbolic Math Toolbox, but then I have no idea what you are doing. Try this: B=20; ...

9 years ago | 0

Answered
how to play video...the next step or code pls
The best description is likely the documentation on <https://www.mathworks.com/help/matlab/import_export/read-video-files.html *...

9 years ago | 0

Answered
How can I give my x-axis predetermined values (a year)
See the documentation on <https://www.mathworks.com/help/matlab/ref/timeseries.plot.html#bt45yb6-1 *Plot Time Series Object with...

9 years ago | 3

Answered
Help understanding findpeaks function qualifier units?
The dependent *|‘y’|* variable units are whatever they are in your data. The independent *|‘x’|* variable units are either ...

9 years ago | 0

Answered
Interpolation in negative axis?
Once you have your fitted *|‘p’|* values, you can find the *|x|* value at *|y=0|* with the *|fzero|* function. Try this: ...

9 years ago | 0

| accepted

Answered
How to perform multiple filtering steps using matlab(signal processing)
I would use a simple <https://www.mathworks.com/help/releases/R2015a/matlab/ref/fft.html *|fft|*> (link) rather than the more co...

9 years ago | 0

| accepted

Answered
How to find distance between two points in ICG signal several times?
Finding *|‘C’|* are relatively straightforward: use the <https://www.mathworks.com/help/signal/ref/findpeaks.html *|findpeaks|*>...

9 years ago | 0

| accepted

Answered
Parse error Simple Function Problem
You need to specify the multiplication operators |(*)|. I added element-wise exponentiation. You also need to save your functi...

9 years ago | 0

| accepted

Answered
How do I shorten the amount of decimal spaces in a fprintf statement?
Use the format descriptor: *|'%.1f'|* to get one decimal place. See the documentaion on <https://www.mathworks.com/help/mat...

9 years ago | 1

Answered
Calling Upon previous anonymous function results for use in a second anonymous function
You can use one anonymous function (or any other function) is a second function. You simply have to call it as a function _in_ ...

9 years ago | 1

| accepted

Answered
How to best separate my signal into frequency regions?
It is reasonably straightforward to design a bank of filters, and designing each one using this prototype code and then filterin...

9 years ago | 0

Answered
How do I stack 10 shots from seismic source to produce a resultant signature with greater signal/noise ratio?
What result do you want? You already seem to have removed the *|0.1|* Hz bolt gun signal, since it does not appear in your Four...

9 years ago | 3

| accepted

Answered
read only the numerical value of a file
This works: filename = 'out_log_test-weak.txt'; fidi = fopen(filename,'rt'); D = textscan(fidi, '%*s%f%%', 'HeaderLi...

9 years ago | 0

| accepted

Answered
When to use 10 log 10 and 20 log 10 while calculating psnr of image ?
Whether you use *|10|* or *|20|* in calculating decibels depends on the units you are starting with. If you are starting with *...

9 years ago | 4

| accepted

Answered
EEG Epoch with overlap
See if the Signal Processing Toolbox <https://www.mathworks.com/help/signal/ref/buffer.html *|buffer|*> (link) function will do ...

9 years ago | 2

Answered
Error using surf X, Y, Z, and C cannot be complex error
Your code runs for me without error. A more efficient approach would be: theta5=[0:0.2:pi]; theta4=[0:0.2:pi]; ...

9 years ago | 2

Answered
How do we store each value we get from each time the loop is run? Then how do we do a summation of all those values?
Assuming you want to store *|‘F’|*: F(n) = ((k*q*qq)/(Q*(R2)))*Rh The same approach will work for other variables. ...

9 years ago | 1

| accepted

Answered
How to check the input from user is "positive integer Number" ?
It is straightforward to write a simple anonymous function that will return *|1|* (true) when those conditions are met: in...

9 years ago | 2

Answered
Problem in solving highly complex second order ODE
If you are integrating the same equation you posted earlier, *|deval|* and *|fplot|* will just complicate your code. Do thi...

9 years ago | 0

Load more