Community Profile

photo

Prince Igweze


Last seen: circa 3 anni fa Attivo dal 2019

Followers: 0   Following: 0

Statistiche

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


Looping a function in MATHLAB
Please, how can I loop this function function y = f(x) y = sqrt(1 - (x^2)*(Z^2)); end to solve for different values if Z (...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Freezing a frame and extracting values
I have a video of a wave propagating at incresing time with depth How can i write a code to freeze the video at various frame...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to colour plot grey
How can i make each of the three plots grey in colour. Thanks figure(1) plot(Dmq1) hold on plot(Dmq) hold on plot(Dm...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Generating random number, mathlab
Plese how can I generate a single uniformly distributed random number between 0 and 1 ie U(0,1)

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


help regarding conditional if statement
How do i write the code for the if statement such that if the condition fails it maintains the previous model (m) theta = [0:90...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Plotting normalised histogram of parameters
How can I plot the normalized histograms for parameter x, which correspond to marginal probability distributions n = 20000;...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Storing values in a loop
plot of x does not give a normal distribution as expected, seems to be an error in my code n = 20000; x = zeros(n,1) x(1...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


challenge implementing for loop
I have chanllenges implementing this code to run a loop from Tmax to Tmin and accepting or rejecting m based on if statement ...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


Writing expression for summation on mathlab
how can i write this on mathlab

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I Multiply a vector by a weight matrix
How can i multiple a 20 by 50 matrix (A) by a 20 by 20 weigting matrix(S) i.e SA THANK you

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


setting column of a matrix to zero
A(j,k) = exp((-a * j^2 * z)/mt(k)) A is a 20 by 50 matrix how can i set column 25 - 30 of A to zero thank you

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


plotting when variables are conditional
t = logspace(-3,13,100) for j = 1:100 q = inv((At * Cdi * A) + (t(j) * Ht * H)) * At * Cdi * do c1(j) = transpose((A * q) ...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Storing values in a loop
t = linspace(10^-4,10^12,17) q = zeros(length(t),1); for i = 1:17 m(i) = inv((At * Cd * A) + (t(i) * Ht * H)) * At * Cd *...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


Unable to store matrix array in for loop
t = linspace(10^-4,10^12,17) for i = 1:17 m = inv((At * Cd * A) + (t(i) * Ht * H)) * At * Cd * do end Solution for m ...

oltre 4 anni fa | 2 risposte | 0

2

risposte