Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

for loop for this ? I want to create a for loop for this that runns throw the data and create arrays like this.

1 Ansicht (letzte 30 Tage)
close all; clear all; clc; % Vill her lata hoppa á 50 dögum , skoða þetta B
data1 = xlsread('dataCompanyprices','Sheet1','W4:AP1203');
A = data1(1:5,:)
B = data1(6:10,:)
C = data1(11:15,:)

Antworten (2)

Hannes Arnar
Hannes Arnar am 3 Feb. 2020
Bearbeitet: Hannes Arnar am 3 Feb. 2020
I want to let the loop jump throw the data set on some days lets say mabye 25 days , So the dataset is 1200 * 20 .
By that I want to make 1200 / 25 = 48 matrixes.
So I want 48 matrixes that include thoes 25 days with the data. :)

Hannes Arnar
Hannes Arnar am 3 Feb. 2020
I want to let the loop jump throw the data set on some days lets say mabye 25 days , So the dataset is 1200 * 20 .
By that I want to make 1200 / 25 = 48 matrixes.
So I want 48 matrixes that include thoes 25 days with the data. :)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by