Importing data sheet from excel sheet to matlab

2 Ansichten (letzte 30 Tage)
Nagarjuna
Nagarjuna am 2 Okt. 2013
Kommentiert: Nagarjuna am 2 Okt. 2013
suppose a = 1:3:20, b = 1:2:10, d=((a-b)/a)*100, i want each answer seperately, can anyone help me ?
  1 Kommentar
Nagarjuna
Nagarjuna am 2 Okt. 2013
Thank you, nice meeting you, csn u tell me your email id?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Amit Nambiar
Amit Nambiar am 2 Okt. 2013
Bearbeitet: Amit Nambiar am 2 Okt. 2013
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);

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by