필터 지우기
필터 지우기

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