フィルターのクリア

How to take data from a loop and add it into a function?

2 ビュー (過去 30 日間)
David
David 2014 年 12 月 14 日
コメント済み: per isakson 2014 年 12 月 15 日
Basically i'm using [rho, P, T, ZorH] = stdatmo(...) which gives air density, pressure, temperature, and altitude. I need these in 1 second increments until P reaches .09 atm (the point at whitch my balloon will reach its max volume considering temperature is constant.)
The only problem is that stdatmo goes off of altitude instead of time and i have no idea how to figure out the acceleration in each time incremeant to plug it into stdatmo. I know acceleration is equal to the net force divided by the mass and the inital acceleration is 3.74m/s^2 but i have no idea where to go from there. Heres what i have so far:
%Final Project: David Deertz
%Tracking a balloon's vertical and horizontal movement carrying a
%package as it travels down wind from the drop location. Winds are
%a constant speed of 15mph.
%Constants
Mballoon = 4.349; %kg
R = .0821; %Gas Constant, L*atm/mol*K
MaxVolume = 41890; %L
Fgrav = 32.85; %N
P0 = 1; %atm
V0 = 4189; %L
T = 273.15; %K
n_helium = (P0*V0)/(R*T0);
BurstPressure = (n_helium*R*T)/(MaxVolume);
I know i dont have much but it is for a project and its really confusing me. I'm a super beginner when it comes to matlab. Thanks for any help i'd love to chat in comments with some of you to get ideas.

回答 (0 件)

カテゴリ

Help Center および File ExchangeString Parsing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by