Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
Philipp Mueller
Philipp Mueller 2016년 9월 9일
마감: MATLAB Answer Bot 2021년 8월 20일
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
per isakson
per isakson 2016년 9월 11일
I fail to see the relation between the data in your script and AllPoints.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by