what is meaning of this matlab

2 views (last 30 days)
Muhammad Waheed AZAM
Muhammad Waheed AZAM on 13 Jun 2022
Commented: DGM on 13 Jun 2022
N=xlsread('prova1');
t=N(:,3:39);

Accepted Answer

DGM
DGM on 13 Jun 2022
Edited: DGM on 13 Jun 2022
How about this
% read a spreadsheet with the incomplete filename "prova1"
% it is unknown whether the file actually has no extension
% or whether this is another artifact of MSWindows default behavior
% misleading users into believing that extensions don't exist
N=xlsread('prova1');
% extract the third through 39th column and store in the variable "t"
t=N(:,3:39);
  2 Comments
Muhammad Waheed AZAM
Muhammad Waheed AZAM on 13 Jun 2022
t=(:,3:39); I just want to know above code. What is tell us above code
DGM
DGM on 13 Jun 2022
% extract the third through 39th column of array N
% and store in the array t
t = N(:,3:39);

Sign in to comment.

More Answers (0)

Categories

Find more on Shifting and Sorting Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!