Community Profile

photo

harley


Attivo dal 2013

Followers: 0   Following: 0

Contatto

Statistiche

  • Thankful Level 4

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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;

oltre 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Carica altro