Respondida
How to simulate Poisson Distribution Process?
@Safia Yes. You can usee the binomial (or is it Bernoulli?) approximation: Chop each minute into N equal segments, where lambda...

más de 3 años hace | 2

Respondida
Matrix containing results of polynomial function
@paul, I assume you have 6 (x,y) pairs and a quadratic fit. Your equations show A(2,1) and A(1,1) both multiplying series(1,:)...

más de 3 años hace | 0

Respondida
How to find mean and errorbars for scatter plot at various x values.
@Charlie Milford I don't understand the organization of Mat1 and Mat2. There are 13 x-values repeated many times among the 501...

más de 3 años hace | 1

Respondida
How to plot a function on a 3D sphere?
@Wiqas Ahmad, [edit-correct typo] I cannot run the simplified code in your comment. That code seems to rely on P11 and P12 com...

más de 3 años hace | 0

Respondida
Make a loop from this code
@John, Perhaps you want to do a speed test comparing the vectorized code inyour function to a for-loop equivalent. Your code f...

más de 3 años hace | 0

Respondida
Can complex non linear circuits be simulated using matlab code?
@Md. Golam Zakaria, Yes, this task can be done in Matlab. You have provided an outline of the outer and inner loops. Matlab h...

más de 3 años hace | 0

| aceptada

Respondida
Bar plot command to get results same as in PowerGUI FFT analysis bar (relative to fundamental)
@Michal Przybylski, What is this for? I ask because I have been guilty of providing too much assistance on this site to people...

más de 3 años hace | 0

Respondida
I have a very simple markov chain and I was wondering if there is a simplified equation for times spend in each state
@nobody, [edit: added a note about possibility of more than one equilibrium state] Let's note that your matrix would be applie...

más de 3 años hace | 0

Respondida
Parameterize overlapping - cpsd()
@Amanda Santos, [edit: correcting my recommendation from overlap=floor(...) to overlap=ceil(...)] Yes this is reasonable. Yo...

más de 3 años hace | 1

| aceptada

Respondida
I want to be able to calculate and plot the total interest if the extra payment each month is changing
@Jacob Wagner, Please add lots of comments to your code. Especially when you are asking for help. This will allow other to und...

más de 3 años hace | 0

| aceptada

Respondida
iterative equation two unknown for parachute
@Suleyman Sahin, [edit: correct typographical errors] If you have 2 independent equations and 2 unknowns, you can solve. Matl...

más de 3 años hace | 0

| aceptada

Respondida
Controlled Flight Into Terrain (CFIT)
@Manuel, Suppose you have an array whose values are the terrain elevations. For example: Elev=1000*membrane(1,300); %sam...

más de 3 años hace | 2

| aceptada

Respondida
I want to use MPPT In Wind system ?
@mekimah nabil, The yield is typically over a fixed time period such as one hour or one day. The units are energy - typically ...

más de 3 años hace | 0

Respondida
Finding peak of a noisy data
@mpz data=load('noisy.mat'); t=data.ans(:,1); x=data.ans(:,2); %extract the data plot(t,x,'-b'); grid on; hold on %plot ...

más de 3 años hace | 0

Respondida
Finding peak of a noisy data
@mpz, I see that you have experimented with some of the many options in findpeaks(). You may need to combine the options to re...

más de 3 años hace | 0

Respondida
Using pca function to reconstruct vectors within and outside test set
@nms09, The code v1 = zeros(200, 200); cons = abs(rand()*10); for u = 1: 200 for v = 1:200 v1(u, v) = cons; ...

más de 3 años hace | 0

Respondida
[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?
@John Doe, You're welcome. Thank you for your kind comment. To determine if treatment 1 is better than treatment 2 or treatm...

más de 3 años hace | 0

| aceptada

Respondida
How apply the conformal mapping? (circle to rectangular)
@Changwoo Lee, Is this a homework problem? The figure has an inconsistency. The left hand side shows a light blue region whos...

más de 3 años hace | 1

| aceptada

Respondida
I'm having trouble plotting the temperature field for a thin plate with border temperatures known.
@Lucas Resende, theta1 has dimensions 5x5. You define it with a loop over n=1:100. SInce there is no index in the assignment ...

más de 3 años hace | 0

| aceptada

Respondida
[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?
@John Doe, Please consider my second comment below my answer. I meant to post it as an answer.

más de 3 años hace | 0

Respondida
Spectrogram Audio Movement Detection
@LabRat, You asked: "Is there an easy way to automatically detect..." No. There is not an easy way. As you know, a spectrogr...

más de 3 años hace | 1

Respondida
how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling
@Changhyun Kim, In the script you posted, the first plot you generated was over-written by the second plot you generated. Addi...

más de 3 años hace | 0

Respondida
how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling
@Changhyun Kim., [edit: I adjusted the frequency-domain filtering to make the filtered X symmetric about the Nyquist frequency....

más de 3 años hace | 0

| aceptada

Respondida
Create ring mesh with specified size
@Lawson Bailey, Here is a ring-shaped mesh. Just for the heck of it, I have assigned a z-height as follows: where hw=(ro-ri)...

más de 3 años hace | 0

Respondida
how to convert the seismic wave data in Excel to fourier spectra
@Changhyun Kim data=xlsread('GYEONGJU(MKL).xlsx'); N=length(data); t=data(:,1); %vector of times (s) x=data(:,2);...

más de 3 años hace | 0

Respondida
How can I locate and extract the data of a specific parameter (i.e. blood velocity, TAMEAN) from a DICOM file?
@Myrthe Stalmans, I might be able to help. I have recorded Doppler ultrasound blood flow data from femoral, carotid, radial, b...

más de 3 años hace | 0

Respondida
please, I want someone to help me with MATLAB code for solving the non linear constrained equation as given below
@Ezra Dzarma, [edit: added lines to display -f(x) and constraint 1 at the solution point.] Please carefully read the help for...

más de 3 años hace | 0

| aceptada

Respondida
How to plot 3D plot from polar plot
[moved this from Comment to Answer as I had originally intended] @David Harra, Please post the simplest possible code fragmen...

más de 3 años hace | 0

| aceptada

Respondida
Why does smoothdata give bad results at the beginning and end of a dataset?
@Rick Yuan, [edit: change "on one side" part of my description to "inside" and "outside", which is more clear, I hope] You are...

más de 3 años hace | 2

Respondida
1D Heat Conduction using Eulers Explicit discretisation
@Yashraj Randad, Note that length(x)=21, but your n=20. This causes problems. I recommend that you initialize a bit different...

más de 3 años hace | 0

| aceptada

Cargar más