Community Profile

photo

Mariana


Last seen: ongeveer 4 jaar ago Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to create a 3D plot and split the values inside?
Let´s say I have 3 coordinates, x,y and z x goes from 0 to 120 with a step of one y goes from 0 to 200 with a step of one z ...

ongeveer 4 jaar ago | 2 answers | 0

2

answers

Question


How to visualize al the values inside the array and make split them into two sections?
I have and an array of 191x116x 5. I would like to visualize them in a way that all the value higher than 2 are with a certain c...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How to visualize in a plot a Multidimensional array?
Hi! a = rand(10); % matrix b = repmat(a, 1, 1, 5); % makes multiple copies of your matrix in 3rd dimension I used this two li...

ongeveer 4 jaar ago | 0 answers | 0

0

answers

Question


How can I store 3 values of a sequence and iterate?
Input = [1,2,3,4,5,6,7,8,9,10,11,12]; Buffer= zeros(min(4,10000),1); first = 1; last = 4; Buff_size = 3; step = 1; keepl...

ongeveer 4 jaar ago | 0 answers | 0

0

answers

Question


How to stop the program if an array is empty?
signal1 = [1,2,3,4,5,6]; signal2 = [7,8,9,10,11,12]; signal3 = [13,14,15,16,17,18]; signal4 = [19,20,21,22,23,24]; signal5 =...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How to create a vector?
I have as an output in my simulink model a matrix a time vector. Matrix 1 7 13 19 25 31 2 8 14 20 26 32 3 9 15 21 27 33 4 1...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How to stop the program if an array is empty?
signal1 = [1,2,3,4,5,6]; signal2 = [7,8,9,10,11,12]; signal3 = [13,14,15,16,17,18]; signal4 = [19,20,21,22,23,24]; signal5 =...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How can I can I export a matrix to another function in Simulink?
I am trying to save this matrix in an array. Matrix : [1,2,3,4,5,6;7,8,9,10,11,12;13,14,15,16,17,18;19,20,21,22,23,24] size = ...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How can I split a matrix into 4 regions?
data = [0, 5:120; [(10:200)', zeros(191, 116)]]

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How can I create a table or matrix of 193 rows and 117 columns?
for i=0:115;x(1,i+1)=5+i;end j = 1; for i=10:200;v(j+1,1)= i; j =j+1;end I want all the x values in columns -->116 value...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


Loop different variables from workspace
num = 1; -------> 475 current_file = Test_1; -----------------> test_475 (Table of name 'Test_1' in workspace) rate = h...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


How can I load variable mat file with similar name, modify them and save them again?
for i=1:num v = sprintf('Following_%d',i); l = heigth(v) end *I want to read the size of the table, load ...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Change the name of a table located in my workspace inside a for loop
%Data Folder Analysis file = dir(fullfile('C:\Users\Desktop\data','*mat')); num_files=sprintf('The following mat files are to ...

meer dan 4 jaar ago | 1 answer | 0

1

answer