photo

Matthew


Last seen: 7 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Answered
Why won't the arrays I make work in the functions I created where I need to find pressure?
Here's the code with everything. I want to go through each element of the x array and z array in order to get pressure at each v...

1 year ago | 0

Question


Why won't the arrays I make work in the functions I created where I need to find pressure?
I need to find pressure but the arrays won't plug into my functions as I keep getting D = 0. Is there any ways to fix this? Than...

1 year ago | 2 answers | 0

2

answers

Question


How to make the for loop the length as the array inside the for loop?
I am making a for loop and I want to subtract each element by each other. I was able to do this but my array is now 1x200 and my...

1 year ago | 1 answer | 0

1

answer

Question


How to subtract subtract two elements in the same matrix and then do that again and then divide these values by each other?
I want to make a for loop where I subtract two elements in the same matrix and then do that process again for another matrix, an...

1 year ago | 1 answer | 0

1

answer

Question


I need help computing the pressure gradient at point “i”, using a centered finite difference using a for loop.
Here is the formula I need to code. I have the code for both p and x but I'm not sure how to compute this formula using the va...

1 year ago | 0 answers | 0

0

answers

Question


How do use the annotation function to annotate specific x-values on my graph?
I want to use the annotation function to show x-min and x-max values on my graph. Here is my code: x = [0:300]; lda = 300; uh...

1 year ago | 1 answer | 0

1

answer

Question


I am confused on why I am getting huge numbers at the values 0,75,150, and 300 in my code
For some reason, I am getting huge numbers in c for x= 0, 75, 150, and 300. Which is obviously not correct. I am not sure what i...

1 year ago | 1 answer | 0

1

answer

Question


I am making a Skew T Chart in matlab and for some reason my isotherms(the diagonal lines on the plot) aren't aligned with the temperature on the x-axis. Is there a way to fix?
clear all; close all; [P,H,T,Td,w]=textread('OAX_sounding_corrected.dat', '%f %f %f %f %f'); fileID = fopen('OAX_sounding_cor...

2 years ago | 2 answers | 0

2

answers