Got a problem when saving the variables

1 view (last 30 days)
Hi, so my problem is the followed, I save every variable that is going to change with the loop into another variable using:
All_Horas{q} = Horas;
The Problem I got is that it saves like its shown in the image and I would like it directly with the number.
How could I do it. All this stuff it is because I want to use this variables to do an hystogram

Accepted Answer

Cris LaPierre
Cris LaPierre on 16 Feb 2022
Try using parentheses instead of curly braces.
All_Horas(q) = Horas;
Cris LaPierre
Cris LaPierre on 16 Feb 2022
I don't see All_Horas(q) = Horas;

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by