I desire to to compare the exponential of procession A obtained by the summation formula and also the one v the eigen values. However, I"m acquiring the complying with error once exponential is computed with the diagonalised kind (E here).

You are watching: Array indices must be positive integers or logical values








My assumption: v is you have a variable called eig sitting in her workspace. So when you try to call the eig function, the change is overshadowing it and matlab is trying to extract the 1st, 2nd, 1st, 3rd, etc. Aspects from the eig array. The attempt to extract the 0th aspect leads come the error.


Community sweetheart Hunt

Find the treasures in MATLAB central and uncover how the neighborhood can assist you!

start Hunting!

An Error Occurred

Unable to complete the activity because of alters made come the page. Reload the page to see its to update state.

pick a web Site

Choose a internet site to gain translated contents where obtainable and see local events and offers. Based upon your location, we recommend that you select: .

choose web site

How come Get best Site Performance

Select the China site (in Chinese or English) for best site performance. Various other princetoneclub.org country sites space not optimized for visits from her location.

See more: Which Three Continents Meet In The Middle East Geography, Which Three Continents Meet In The Middle East


Accelerating the pace of engineering and science

princetoneclub.org is the top developer of mathematical computer software for engineers and scientists.