Beantwortet
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 = ...

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Frage


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...

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
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...

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Beantwortet
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?...

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

Beantwortet
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);...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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)

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

Beantwortet
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 : ...

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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.. ...

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

Beantwortet
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...

mehr als 12 Jahre vor | 1

Beantwortet
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)+...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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?

mehr als 12 Jahre vor | 0

Mehr laden