Réponse apportée
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 = ...

environ 13 ans il y a | 0

Réponse apportée
How to pass many variables to a function
you can use the command : global variabes

environ 13 ans il y a | 1

Réponse apportée
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...

environ 13 ans il y a | 0

| A accepté

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

environ 13 ans il y a | 0

Réponse apportée
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...

environ 13 ans il y a | 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...

environ 13 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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...

environ 13 ans il y a | 0

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

environ 13 ans il y a | 0

Réponse apportée
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?...

environ 13 ans il y a | 0

Réponse apportée
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 ...

environ 13 ans il y a | 0

Réponse apportée
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);...

environ 13 ans il y a | 0

Réponse apportée
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...

environ 13 ans il y a | 0

Réponse apportée
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...

environ 13 ans il y a | 0

Réponse apportée
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 ...

environ 13 ans il y a | 0

Réponse apportée
using roots function to find values
try : F=[3 -5 0 10]; r=roots(F);

environ 13 ans il y a | 0

| A accepté

Réponse apportée
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)

environ 13 ans il y a | 0

Réponse apportée
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 ...

environ 13 ans il y a | 0

Réponse apportée
Hello, is there any way I can define a matrix NxN whose elements are different real numbers between 0 and 5?
try : N=300; M=5*rand(N);

environ 13 ans il y a | 0

Réponse apportée
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 : ...

environ 13 ans il y a | 0

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

environ 13 ans il y a | 0

Réponse apportée
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...

environ 13 ans il y a | 0

Réponse apportée
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...

environ 13 ans il y a | 0

Réponse apportée
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.. ...

environ 13 ans il y a | 0

Réponse apportée
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 ...

environ 13 ans il y a | 0

Réponse apportée
How to find the code of MATLAB Inbuilt Function
try (fft example) >> which fft >> open fft

environ 13 ans il y a | 2

| A accepté

Réponse apportée
what is the probability that when three dice are rolled, at least two of the dice have the same value? what is the probability that the value of the third dice roll is strictly between the values of the first two rolls? use simulation to estimate
i want add one concept, you want to compute a certain probability of dice over N times, throw N dices one time and compute, ther...

environ 13 ans il y a | 0

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

environ 13 ans il y a | 1

Réponse apportée
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...

environ 13 ans il y a | 1

Réponse apportée
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)+...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
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?

environ 13 ans il y a | 0

Charger plus