Community Profile

photo

harley


Aktiv seit 2013

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 4

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


finding certain points in data
hello, if I have a row of data say: x = 1, 1.4, 2, 2.2, 3, 3.7, 4..... where the corresponding y = 2, 3, 1, 6 ,5...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Simulink ODE Solver Question
hi, i have a differential equation that im trying to solve in simulink. The equations is dx/dt = -(A*B*(x-C))/D. What block co...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


ode solvers & loops for various values
hello i have shown part of a code below. The first 'Rh' value of 70 is used to find 'EMC' & 'Kx' and the 'Kx' is used in the od...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


for loops and arrays
Hello, part of a script below. How can i write this without typing every in c(j-1,5). I am planning on expanding the array. T...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


loops for different variables
hello i have part of a script below that i have stripped back, (there is also a function file that i have not included & a bunch...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


fourier series for function and period
hi, trying to calculate the fourier series expansion in the period -3<t<3 f(t)={2, -3<t<0; {0, 0<t<3. any help would be ...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


roots of complex numbers
trying to find all possible roots of the following; [125/2(1-sqrt(3i))]^1/3 tried the below, but keep getting error; ...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


complex number root solving
trying to use matlab to solve some complex numbers, as a basic example how does one command matlab to find all the roots of; ...

etwa 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


using roots function to find values
f(x) = 3x^3 – 5x^2 + 10. How do i find 'x' when y = 0, using roots function.

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


??? Subscripted assignment dimension mismatch
how do I fix this assignment error? lambdaMJ = 7.2; MJ_Flow = (30/60)*2; ...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to find a mean across rows
i have a code that produces a matrix, i want it to find the mean across the rows rather than down each column. i tried the below...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


mean across rows and columns
i have a code that produces 10 x 5 matrix, i want it to find the mean across the rows rather than down each column. for a=(...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


storing values from loops
how do i store the values of MJ_V12, they are being overwritten in each loop. Should end up with a 41 x 100 matrix. i've tried ...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


horizontal bar graphs/ figures
how do i plot specific colours with a barh graph. i can plot specific colours for the first stacked bar graph but not for the s...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


bar type graph/ figure
i have some values that i want to graph on a figure. This is for traffic signals. example %Road 1 Phase Green...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


display values in particular order
i have a code that displays the minimum value. I want to display the rest of the values from lowest to highest value, how do i d...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


PDF data analysis and comparison
i have some theoretical PDF's. I want Matlab to decide which one is the best fit for my experimental PDF. How would i do this. ...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


normal distribution from data
is there a more efficient way to derive a normal distribution. % Deriving Normal Distribution From the Data x=0:1:1...

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


smoothing plots from data
im trying to plot some data "smoothed" out. when i use the below code it is still un-smoothed. How do i improve the smoothing? ...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


controlling array data when calculating
im try to avoiding having a w = 0. how do i code this? a = 10; w = -a:(a/1000):a F = 2*sin(a*w)./w;

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Error in Poisson's distribution.
have some example data, trying to use poisson's PDF, (this is a small part of the overall code) but keep getting a error of. Any...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Bisection Method to find root
im trying to write code using the Bisection method to find the max of F(w) like a have with the cubic spline method, any help w...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


using end value in next iteration
want the Vo at the end of each loop to be used in the start of the next iteration, just can't get to work, I display Vn but its ...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


loop until condition met
im trying to create a loop until a certain condition exists by using the results at the end of each loop to calculate the next i...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


array from matrix equations
i have a matrix that solves 4 unknowns, instead of writing Va1 = ....(see below) four times is there a more efficient way to do ...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


solving unknown in algebraic equations
trying to use matlab to solve the following for V2 & V3, how do i do this? All variables are known apart from V2 & V3. Q1 =...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


function handle error with matirx
i get the error below, any ideas where i've gone wrong? Also with the way i've wrote my D & L vectors will D(1) and the correspo...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


random number generation for known sum
i what do generate some 15 random numbers that sum for each separate value of say, 60 , 70, 40, 65. How would i go abouts this? ...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


iterations while in loop
having trouble making this iterate for each increment of Vn, it goes straight to Vn = 30, i want it to also to calc a new Re, f,...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


returning values for iterations
Partial code below. I want to use the Va calculated at the bottom as the Vo in the next iteration, how would i do this. The init...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden