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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 0 risposte | 0

0

risposte

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 2

| accettato

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

Carica altro