Importing data sheet from excel sheet to matlab

suppose a = 1:3:20, b = 1:2:10, d=((a-b)/a)*100, i want each answer seperately, can anyone help me ?

댓글 수: 1

Nagarjuna
Nagarjuna 2013년 10월 2일
Thank you, nice meeting you, csn u tell me your email id?

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

답변 (1개)

Amit Nambiar
Amit Nambiar 2013년 10월 2일
편집: Amit Nambiar 2013년 10월 2일

0 개 추천

to find value of d array your arrays a and b must have the same no. of elements...I have modified that and printed the table that contains a b and d... If you want some more information...reply to this answer... happy to help always... :P clc a = 1:3:20;
a=a';
b = 1:2:14;
b=b';
d=((a-b)./a).*100;
table=horzcat(a,b,d);
display(table);

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2013년 10월 2일

댓글:

2013년 10월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by