Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Index exceeds matrix dimensions. Why?

1 vue (au cours des 30 derniers jours)
Nadiah Zainudin
Nadiah Zainudin le 12 Nov 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
Orangelynx
Orangelynx le 12 Nov 2017
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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by