Answered
How can I interpolate a pressure vector to the surface?
hi, You can use the function *interp2* like in the demo ( type doc interp2) : [X,Y] = meshgrid(-3:.25:3); Z = peaks(X,...

12 years ago | 0

| accepted

Answered
Inverse autoconvolution (autocorrelation) solutions space
Dear Jonathan, Do you mean 1/autocorrelation(X)? you have to define the system X, is it 1D,2D signal? Based on the Wiene...

12 years ago | 0

Answered
I made a 2D color plot, how do I turn the plot into an animation or video of the points being put into place? Thanks
hi, If you mean you have a plot from 2 vectors x and y, then you can use the function pause to drawn each point : for n=1...

12 years ago | 0

Answered
I am having problems finding the roots of the following non linear discontinuous equation
hi David, if you have numerical values of the coefficients, you can use the function root instead as in this example : ...

12 years ago | 0

Answered
Hello everyone, I have a matlab problem and I don't know how to go about it.The question goes thus: Using a matlab code prove that for discrete time sinusoids whose frequencies are seperated by an integer multiple of 2*pi are identical. Pleas
hi, I think you mean that *two sinusoidal functions whose phases are separated by integer multiple of 2*pi are identical* : ...

12 years ago | 0

| accepted

Answered
can i have a code to filter in the frequency domain that is capable of attenuating the noise in the image ?
hi lona, there is similar question that was solved yesterday, here is the link : <http://www.mathworks.com/matlabcentral/ans...

12 years ago | 0

Answered
frequency domain filter problem ??
hi Maria, Attenuating the noise means you need to design low pass filter, try this method : h=ones(3)/9; You can see...

12 years ago | 0

Answered
I have a problem with converting a differential equation into a function!!!
hi, You can this method first to confirm the result : 1) In M-file you create the function : function dy=My_Functi...

12 years ago | 0

Answered
Need help for ploting 3D graphic
hi Rudi Martin, the two variables x and y have different boundaries, but when you called the command meshgrid, they all have ...

12 years ago | 0

Answered
why exp(a*t) is not equal to ilaplace ((s*i-a)^-1) in matlab
hi Sina, first you have to use the element wise operator in the power : try : syms t s; A=[-3 -1;2 1]; F1=exp(A.*t...

12 years ago | 0

Answered
How to convert binary image to graph?!
hi, You can convert the image to graph by simply plot the result as vector or matrix : I=imread('circuit.tif'); figur...

12 years ago | 1

Answered
dbstop if error: manually fixing the error and continue?
hi, Yes, if you put the command *dbstop if error* at the top of the M-file and run your code, when the compiler finds the err...

12 years ago | 2

Answered
Equivalent of beta functions
hi, Concerning the function beta, you can use the gamma function, do you have access to the gamma function? anyway: BETA...

12 years ago | 0

Answered
Why does running my mex function cause matlab to shutdown?
hi, One probable reason is that the name of your function already exists in Mat built-in functions directory, check the name of...

12 years ago | 0

Answered
Does anybody know the mathematical model of a 3-DOF helicopter and matlab codes
hi Kalenjit, As a first answer, i remember i have seen a similar example but i do not remember where, the author used Mathwor...

12 years ago | 0

Answered
How to use "Hotelling Transform equation" to have new 3D image representation ??!
hi Mariam, This question should be treated by Image processing specialist, however there a link that provides some informatio...

12 years ago | 0

Answered
Splitting an axis into a linear and log scale
hi Senaasa, There must a sophisticated way to produce such arrangement, that method is used in many papers related to geophys...

12 years ago | 0

Answered
How to understand firefly algorithm
hi, No need to search for Review /research articles , here is the algorithm found in Wikipedia : <http://en.wikipedia.org/...

12 years ago | 0

| accepted

Answered
I need help using the feval command
hi, To analyze your function, you must add the element wise operator to avoid the error of ' Matrix must be square', here is a...

12 years ago | 0

| accepted

Answered
how to create a histogram of R,G,B
hi, You mean putting them on one figure, with each component its corresponding color : I=imread('autumn.tif'); R=imhist...

12 years ago | 2

Answered
the mat lab code for this signal
hi miraf, The signal you described f(t)=t, is not periodic, while the Fourier Development states that in order to apply the I...

12 years ago | 0

Answered
"text" handle, how do I grab all text and rotate it in a figure?
Michael, The default rotation in text is 0°. The text properties can be adjusted as the following example : plot(randn(1...

12 years ago | 11

| accepted

Answered
First order Markov chains
hi olig, You can try to use the function "HMMESTIMATE" which a default Matlab function : As an example, we take a sequence...

12 years ago | 0

| accepted

Answered
How to Convert 2D matrix to 3D with time as 3rd dimension
hi, You can the method provided above, but the function "toc" may have problems , i propose using an integer variable , here ...

12 years ago | 0

Answered
Search and delete row from cell array
try this example : % gievn your cell C %A=cell2mat(C); % simulating your data A=randn(10); A(4,6)=0; % zero A(7,6...

12 years ago | 0

Submitted


Viscous Flow in pipe : Velocity profile
Computing the Velocity profile of viscous fluid in pipe based on 5 inputs (Pa,Pb,mu,R,l)

12 years ago | 3 downloads |

0.0 / 5
Thumbnail

Answered
How to find curvature as a function of temperature
hi, You computed the curvature as function of temperature , then you have the initial and final values of the temperature, yo...

12 years ago | 0

Answered
how to compute and plot results for three different frequency vector ?
hi, you can plot your three signals in the same graph using subplot command as this example : r1=randn(100,1); r2=rand(10...

12 years ago | 0

Answered
why PSD is different?
hi, They are the same with your approach here is an example : x=sin(2*pi*40*(0:1/90:10)); [rxx lags]=xcorr(x) X=fft(x,...

12 years ago | 0

Answered
how to remove unwanted signal
hi, One you know the mathematical formula of the square pulse you subtract it from your signal, or transform you signal into ...

12 years ago | 0

Load more