Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Subscript indices must either be real positive integers or logicals.

Subject: Subscript indices must either be real positive integers or logicals.

From: ons

Date: 13 Mar, 2011 17:53:05

Message: 1 of 2

hello every body,

When I set cov (X), this message is displayed on the screen:
Subscript indices must either be real positive integers or logicals.

Could you please help me

Thanks

Subject: Subscript indices must either be real positive integers or logicals.

From: Sadik

Date: 13 Mar, 2011 18:39:05

Message: 2 of 2

Hi,

You might have a variable named cov. You should first get rid of it by

clear cov

and then you can take the covariance of X.

Best.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us