Answered
Chemical reaction rate with ODE?
You did not mention the parameters A,B,C and D : i tried with A=12.2;B=14.3;C=15.5;D=17.6; it gives : Conc = ...

12 years ago | 0

Answered
How to pass many variables to a function
you can use the command : global variabes

12 years ago | 1

Answered
Help not sure what I am doing! need a starting point for digital filters
Courtney, If you have signal processing toolbox, you can start with : % Band pass b = fir1(8,[0.03 0.60]); r=randn...

12 years ago | 0

| accepted

Answered
How do I plot the impulse response from this equation?
try : n=500; [g,w]=freqz(h,n); figure,plot(w,(abs(g)))

12 years ago | 0

Answered
I want to display 46 chromosomes images on single axes in matlab gui.. Can anyone help please?
46 samples in one line will not be efficient , i propose to store all your images in one matrix, lets M and divide them into 6x8...

12 years ago | 0

Question


Entropy of Gaussian process.
Dear MATHWORKS users, Given an N(0,1) square Gaussian process with size N=500, compute the entropy in nats (using the natura...

12 years ago | 0 answers | 0

0

answers

Answered
How do I calculate frequency from an x position on a bode diagram?
Drew, Your code does not return vectors to evaluate the gridx as function of frequency, try this version : gridWidth = 320...

12 years ago | 0

Answered
draw function more understandable
you can adjust the axis property to zoom in : % x,y axis([x(1) x(end) y(1) y(end)])

12 years ago | 0

Answered
FFT - how to increment in time?
Bruce, You have to clarify "increment FFT in time", you mean in frequency? you mean you want to predict the spectrum at t+dt?...

12 years ago | 0

Answered
Plotting resistors and capacitors in matlab
Jerry, Here are, quickly, two ways to work around : % First way: too bad use HEAVISIDE instead or increase resolution ...

12 years ago | 0

Answered
interpolating row data in a matrix
large data means down sampling? If it is the other case, you can interpolate row by row as in this example : r=randn(30);...

12 years ago | 0

Answered
3D Surface plot with Cartesian coordinates
Paul, I think reshaping will not give good results, however try these approaches, 1) Solution 1: plot3(busCoordsX,bu...

12 years ago | 0

Answered
Hello there. I ran a matlab program and i cant produce any graph. This program can run but it doesnt show any graph.. Please help me
Like @Image Analyst said, its working correctly, the cause may be some stored variables with same names, use clear before runnin...

12 years ago | 0

Answered
Finite Temperature Variation - Heat Transfer
N=1000; % 1 meter sampled with 1000 Hz p=0.6*N; % your 0.6 starting point . M=zeros(N); % initial matrix ...

12 years ago | 0

Answered
using roots function to find values
try : F=[3 -5 0 10]; r=roots(F);

12 years ago | 0

| accepted

Answered
Hypobolic Tangent Function Question
its easy to fix the error, vector computation is column wise : y=-3:0.01:3; f=1./tanh(y); plot(y,f)

12 years ago | 0

Answered
Finite Temperature Variation - Heat Transfer
Kaelyn, OK the problem now is clear , here is fast way N=500; % more resolution better 2D heat conduction resolution ...

12 years ago | 0

Answered
How to chose FFT parameter ?
Fs should be at leats twice the maximum frequency in the signal , and the number NFFT increases resolution only , example : ...

12 years ago | 0

Answered
correcting x-ray image
You can use the histogram equalization , see this example : I = imread('tire.tif'); J = histeq(I); imshow(I) figure, i...

12 years ago | 0

Answered
Need help with average rate of change.
Alexander, in the range [1 28], the average rate is : *48+3x²+x(2b+3)+h²+a* and in the range [28 56] it is : *B*, with a=3.64, b...

12 years ago | 0

Answered
Could someone explain how this code works?
David, The variable temp is local (inside the function), as long as the iterative variable x didnt arrive at 1 the process cont...

12 years ago | 0

Answered
Integration of pwelch output and comparing it with the variance of a signal
Your method works with these signals : x=chirp(t,100,1,300); y=randn(size(t)); waiting to answer the comment above.. ...

12 years ago | 0

Answered
How to loop the constant in a function?
Eric, use anonymous functions better, Here is your example ( its obvious that k is the y solution): N=10; for k=1:N ...

12 years ago | 0

Answered
How to find the code of MATLAB Inbuilt Function
try (fft example) >> which fft >> open fft

12 years ago | 2

| accepted

Answered
Help with the estimation issue
there are no details for this implementation, however two successive runs return different results , you can estimate your resul...

12 years ago | 1

Answered
Help with the estimation issue
As preliminary answer, the Student's t distribution converges to Normal distribution when the degree of freedom tends to Infinit...

12 years ago | 1

Answered
HOW DO I GRAPH 1+2z^1+3Z^2 +4Z^3?
There are more than 4 ways to graph the function,you also did not mention the range . fast way : >>fplot('1+2*x+3*(x^2)+...

12 years ago | 0

| accepted

Answered
How to test if a time series is a white noise?
white noise i.e flat power spectral density . % time serie X F=abs(fft(X)); plot(F(1:end/2)); % shape?

12 years ago | 0

Load more