Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
How can i create a specific loop which stores values in a matrice?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Dear Community,
First of all thank you for your support in the last days. Here is my last question. I Promise (the question is not the same like last time).
I have an input-table. It has 3 columns and some rows -> The first column are my x-coordinates and the second column are my y-coordinates. (Of my start points) This start point is always my left bottom corner point of my rectangle. From this point i want to draw my rectangle. (height and width should be a constant). I have big problems with loops and matrices..
My output must be looking like: AllPoints= [0,0;1,0;1,1;0,1;5,5;10,5;10,10;5,10;2,2;4,2;4,4;2,4]; -> Explanation see screenshot
clc % löscht den Bildschirm
clear all % löscht alle Variablen
%Table -> (start Points...)
%12 0 10
%14 0 30
%16 0 54
%18 0 51
%20 0 35
%22 0 12
%14 2 25
%16 2 35
Input_Matrix = readtable('Testbeispiel_Rainflow.dat',...
'Delimiter','\t','ReadVariableNames',false)%,'Format','%f%f%f')

Thank you! Have a pleasant day
1 Commento
per isakson
il 11 Set 2016
I fail to see the relation between the data in your script and AllPoints.
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!