photo

Lakhvir Sandhar


Attivo dal 2016

Followers: 0   Following: 0

Statistica

MATLAB Answers

8 Domande
0 Risposte

RANK
181.935
of 302.378

REPUTAZIONE
0

CONTRIBUTI
8 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
62.5%

VOTI RICEVUTI
0

RANK
 of 21.756

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 181.923

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


how to fix error in my simple for loop
I have a code that I need to get to work. Basically C_0= 350. I need to set a timestep to count for hours, doesn't mater how man...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


I need this code to start from 5 to 1. How can I do this?
Hi I am doing a draining tank problem where the initial water height is 5 m and it drops to 1 m. Can someone help me have it plo...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


I am getting an error saying that matrix dimensions must agree. Can anyone help me? The problem is only near the very end of my code
clc;clear all; %------Question 1------------ P=[0.6 0.9 1.2 1.5 1.8].*100000;%Inlet pressure convert from bar to...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


I still have errors in my code and would like help in fixing these errors. I have to get my unknowns within the ranges of 0<V<50, 0<D<10, 0<f<1, and Re>2300. I have attached my code so far along with the equations given to be solved
I also need to create a graph of errors. Original Equations to solve for Unknowns are: V=0.35/((pi*D^2)/4) Re=(VD)/0.000...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Can anyone convert this Pseudocode to Matlab
FUNCTION Simp13m (h, n, f) sum 5 f(0) DOFOR i 5 1, n 2 2, 2 sum 5 sum 1 4 * fi 1 2 * fi11 END DO sum 5 sum ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Hey guys can anyone help me to see where I am wrong in my code? I have to get my unknowns within the ranges of 0<V<50, 0<D<10, 0<f<1, and Re>2300. I have attached my code so far.
Original Equations to solve for Unknowns are: 1. V=0.35/((pi*D^2)/4) 2. Re=(VD)/0.00001265 3. 20=f*(150/D)*((V^2)/(2*9....

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Can anyone spot my mistake? I am trying to create a code that answers the question. A graph comes up, but nothing is in, so basically an empty graph with only the axis numbered (no plots). Can someone tell me why nothing is showing up?
The question i am asked is: Generate a 21 X 21 mesh on a xy coordinate system. Mesh x & y are bounded in a square -1≤x≤1 & -1...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Can anyone convert this Pseudocode into Matlab?
FUNCTION Simp13m (h, n, f) sum = f(0) DOFOR i=1, n-2, 2 sum = sum + 4 * f_i + 2 * f_i+1 END DO sum = sum + ...

oltre 10 anni fa | 1 risposta | 0

1

risposta