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

más de 12 años hace | 0

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

más de 12 años hace | 1

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

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

más de 12 años hace | 0

Pregunta


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

más de 12 años hace | 0 respuestas | 0

0

respuestas

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 0

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

más de 12 años hace | 2

| aceptada

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

más de 12 años hace | 0

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

más de 12 años hace | 1

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

más de 12 años hace | 1

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

Cargar más