필터 지우기
필터 지우기

How to import data and use it in a formula?

조회 수: 1 (최근 30일)
ekko ekkosen
ekko ekkosen 2015년 3월 19일
댓글: dpb 2015년 3월 19일
hei the problem here is that i have a formula for obtaining the loads that wave cases on a column but i am not going to hava formula for velocity or acceleration that is one part of the formula used. those are gathered from an excel file with depth variations. so i have this:
d = 100; depth
a = 31; amplitude
D = 20; diameter
p = 1025; water density
Cm = 2; factor
Cd = 1.1; factor
V1 = Velocity data from excel where it changes with depth Z
A1 = Acceleration data from excel where it changes with depth Z
Fm = (pi*p*Cm*A1*D.^2)/4;
Fd = ((p*Cd*D)/2)*V1.*(abs(V1));
F = int(Fm,z,-d,a)+int(Fd,z,-d,a) formula for force vil give a constante
so how do i introduce the V1 velocity data and the A1 acceleration data to this formula?
  댓글 수: 1
dpb
dpb 2015년 3월 19일
Basically read the Excel file(s). See
doc xlsread
for details on the function; precisely for your case would depend on how the spreadsheets are built.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by