Index exceeds Matrix dimensions

2 Ansichten (letzte 30 Tage)
Maximilian Jatzkowski
Maximilian Jatzkowski am 19 Feb. 2019
Hi!
I am trying to run this script to calculate different values for an assignment. Ive gotten most of it to work, but it is now stuck on line 162 when i run it, and tells me "index exceeds matrix dimensions". I have tried to compare the two matrixes i am trying to combine, and one of them seems to have a lot of zeros in it. Is there any way to elegantly fix this problem, and get rid of the index error?
The files "stralning" and "temperatur" are the text files that i am getting my data from, just for reference.
Thank you for any help!

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by