I desire to compare the exponential of matrix A derived by the summation formula and the one through the eigen values. However, I"m gaining the following error when exponential is computed v the diagonalised type (E here).

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








My assumption: v is you have a variable named eig sitting in her workspace. So once you try to contact the eig function, the variable is overshadowing it and also matlab is trying to extract the 1st, 2nd, 1st, 3rd, etc. Aspects from the eig array. The effort to extract the 0th element leads come the error.


Community sweetheart Hunt

Find the treasures in MATLAB main and uncover how the community can help you!

start Hunting!

An Error Occurred

Unable to finish the action because of changes made come the page. Reload the page to check out its to update state.

select a internet Site

Choose a net site to gain translated content where easily accessible and see neighborhood events and also offers. Based on your location, us recommend that you select: .

pick net site

How to Get best Site Performance

Select the China website (in Chinese or English) for ideal site performance. Various other allisonbrookephotography.com nation sites room not optimized because that visits from your location.

See more: Child'S Fortnite Cuddle Team Leader Costume, Adult Cuddle Team Leader Plush Fortnite Costume


Accelerating the speed of engineering and science

allisonbrookephotography.com is the top developer the mathematical computer software for engineers and also scientists.