Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Index exceeds matrix dimensions. Why?

1 回表示 (過去 30 日間)
Nadiah Zainudin
Nadiah Zainudin 2017 年 11 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
close all;
clear all;
clc;
%load data & display
dataset= xlsread('DSN OFFSET.xlsx','R0');
disp(dataset);
%read data
z = dataset(3:53,1);
x = dataset(1,2:53);
y = dataset(3:53,2:53);
  1 件のコメント
Orangelynx
Orangelynx 2017 年 11 月 12 日
don't want to be the jerk but how is anyone supposed to know what's wrong here? we have no clue about the data you are dealing with. for starters you may try
size(dataset)
to see what dimensionality the variable has and if it complies with what you expect it to be.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by