Community Profile

photo

harley


Con actividad desde 2013

Estadísticas

  • Thankful Level 4

Ver insignias

Content Feed

Ver por

Pregunta


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

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

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

0

respuestas

Pregunta


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

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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;

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Cargar más