Posts by wanderson • 41 points
3 posts
-
1
votes1
answer3663
viewsA: How to record the intermediate result of a loop for in matrix, with each iteration?
In Matlab the following syntax is used (I imagine that in Scilab should not be very different): outputMatrix = zeros(33, 22); for i = 1:22 scaledVector = pe(i)*q_qp; outputMatrix(:, i) =…
-
1
votes2
answers8510
viewsA: Results in table format in Matlab
You can use the table command in order to not only tabulate the data but also store it in a tabular form. Ex.: T = table([’M';'F';’M'],[45;32;34],... {'NY';'CA';'MA'},logical([1;0;0]),...…
-
2
votes1
answer1273
viewsA: How to read a spreadsheet with date and time in Matlab?
Recommend: use the xlsread command, or convert the file to csv format and then use the csvread command, or if none of these solutions please you you can use the readtable. For the latter, I will…