Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How can i create a specific loop which stores values in a matrice?

1 visualización (últimos 30 días)
Philipp Mueller
Philipp Mueller el 9 de Sept. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentario
per isakson
per isakson el 11 de Sept. de 2016
I fail to see the relation between the data in your script and AllPoints.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by