photo

luca


Last seen: 4 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 5

View badges

Feeds

View by

Question


Create a random array with certain requirements
Hi, I would like to create an array V that contains random elements (numbers) with the following characteristic: 1) The array...

4 years ago | 1 answer | 0

1

answer

Question


Add empty cell inside a cell array considering a single array
Hi I have a cell array GGG = {{[1 2 2 1 3 4 9 9 6 1 3 3 2 1 2 4 3 ; 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85],[ 2 2 3 ...

5 years ago | 3 answers | 0

3

answers

Question


If condition whit exceed condition
Given the arrays WEEK = [148 179 102 242 242 268 156 162 267 267 273 273 268]; BDR = [210 210 210 210 210 210 210 210 210 210...

5 years ago | 0 answers | 0

0

answers

Question


Find position of a column given a specified array
Hi given the two arrays BrB= [84 56 80 58 64 56 66 62 58]; Mritsum = [5.321, 26.485 , 0.268, 110.793, 1.745, 28.92, 24.200, 3...

5 years ago | 1 answer | 0

1

answer

Question


Count the values inside a cell array considering another cell array
Hi given a cell V={{[1,1,1,1;25,45,70,90],[2,2,2,2;78,112,146,180],[3,3,3,3;93,127,161,195],[4,4;70,100],[6;85],[9,9;85,110]},{...

5 years ago | 1 answer | 0

1

answer

Question


Count how many element are inside each cell af a cell array on the basis of an array
Hi given a cell array V={{[1,1,1,1;25,45,70,90],[2,2,2,2;78,112,146,180],[3,3,3,3;93,127,161,195],[4,4;70,100],[6;85],[9,9;85,1...

5 years ago | 1 answer | 0

1

answer

Question


Delete some columns from a cell array depending on an array SP
Given the cell array V={{[1,1,1,1;25,45,70,90],[2,2,2,2;78,112,146,180],[3,3,3,3;93,127,161,195],[4,4;70,100],[],[6;85],[],[],...

5 years ago | 0 answers | 0

0

answers

Question


Create two cell arrays referring to another cell array
Given the following arrays and cell SP= [1 2 3 4 6 9]; M = [0 1 1 1 0 1 1 1 1]; T= [20 34 34 20 34 20 25 34 25]; G = {[1 2 2...

5 years ago | 1 answer | 0

1

answer

Question


Creation of a cell array with an iteration on an array
SPI=[1 2 3 4 5 6 7 8 9]; GGG= {[1 2 1 2 1 1 1 2 3 4 4 5 4 5 5 4 4 5 5 4 6 6 6 6 6 6 3 3 9 9 3 1 9 9; 5 10 15 20 25 30 35 40 45 ...

5 years ago | 1 answer | 0

1

answer

Question


Modify a cell array and obtain a new cell array
Hi, I want to create a new cell array AAAA with the following code. GGG= {[1 2 1 2 1 1 1 2 3 4 4 5 4 5 5 4 4 5 5 4 6 6 6 6 6 6 ...

5 years ago | 1 answer | 0

1

answer

Question


If statement with or condition
Hi given the following code BDR= [175 175 175 175 175 175 175 175 175 175 175 175 175]; SETTIMANA=[190 130 120 140 100 160 175...

5 years ago | 1 answer | 0

1

answer

Question


Insert zero in an array when a certain value is exceeded
Hi given arrays Y= [175 175 175 175 175 175 175 175 175 175 175 175]; SETT=[178 130 120 140 100 160 179 165 157 140 130 180 14...

5 years ago | 2 answers | 0

2

answers

Question


Create a matrix on the basis of other matrix
Hi given a vector SPI= [2 3 4 8 11 13 14 15 16 19 20]; and the array AA= [1 2 3 4 0 11 15; 0 0 0 8 13 16 ...

5 years ago | 1 answer | 0

1

answer

Question


Delete element of an array on the basis of other arrays
Hi given arrays Y= [175 175 175 175 175 175 175 175 175 175 175 175]; SETT=[178 130 120 140 100 160 179 165 157 140 130 180 14...

5 years ago | 1 answer | 0

1

answer

Question


Create a new array on the basis of another array
Hi given an array V = [78 60 64 30 78 70 50 64 80 68 74 52 62 54 30] I want to find minum inside V and put 100 in the place of...

5 years ago | 1 answer | 0

1

answer

Question


Create a matrix on the basis of other matrix
Hi given a matrix M= [ 0 4 8 6; 0 0 0 6; 0 0 0 6; 2 0 0 0; 0 0 0 0; 0 0 0 1; 0 4 7 0; ...

5 years ago | 2 answers | 0

2

answers

Question


Choose a cell array that satisfy better some criteria
Given two arrays A = [45 41 19 32 32 15 24 1 41 15 15 15 15]; B = [200 200 200 200 200 200 200 200 200 200 200 2...

5 years ago | 1 answer | 0

1

answer

Question


Loop iteration filling an array
Hi, I have a code with the following structure for i= 1:7 .... GGG= .... if i==1 NEXTse= ...

5 years ago | 0 answers | 0

0

answers

Question


Create a matrix from two matrices
Given two matrices S = [1 2 1 2 1 3 4; 5 10 15 20 25 30 35]; G = [1 2 2 3 4 5 ; 7 10 15 20 25 30]; I want to create a new mat...

5 years ago | 1 answer | 0

1

answer

Question


Find a column number referring to an array
Given the following V = [310 285 334 302 306 312 316 304 305 291 310]; M= [273.381 245.231 2...

5 years ago | 1 answer | 0

1

answer

Question


Select a point on the graph
Hi given the following code, figure(1); scatter(x(:,1),x(:,2)); hold on; scatter(member_value(:,1),member_value(:,2),'r'); ...

5 years ago | 2 answers | 0

2

answers

Question


Create an array from other array
Given the following arrays V = [310 285 334 302 306 312 316 304 305 291 310]; M= [273.381 245.231 203.334 212.814 239.183 276....

5 years ago | 1 answer | 0

1

answer

Question


Plot two arrays as x and y and select the maximum point
Hi given 2 arrays V = [310 285 334 302 306 312 316 304 305 291 310]; M= [273.381 245.231 203.334 212.814 239.183 276.148 231....

5 years ago | 1 answer | 0

1

answer

Question


Cumalative sum of each row of the matrix and the matrix array, separately
Hi, given the following matrix and matrix array G= {[1 2 1 2 1 1 1 2 3 4 4 5 4 5 5 4 4 5 5 4 5 4 5 4 5 4 6 6 6 6 6 6 3 3 9 9 3...

5 years ago | 1 answer | 0

1

answer

Question


Create an array iterating on another array
Hi, given the arrays SP = [1 2 3 4 5 6 9]; T = [10 5 15 5 10 15 20 15 10]; M = [5 6 7 8 10 4 2 ]; G= {[1 2 1 2 1 1 1 2 3 4 ...

5 years ago | 1 answer | 0

1

answer

Question


Exchange position of elements in an array
Hi given two arrays SP = [1 2 3 4 8 11 13 14 15 16 18 19 20]; Y= [24 18 18 18 18 18 18 18 18 18 18 18 18]; I create an array...

5 years ago | 1 answer | 0

1

answer

Question


Create an array referring to another array
Given the following code clear all clc SP =[1 2 3 4 5 6 9] G= {[1 2 1 2 1 1 1 2 3 4 4 5 4 5 5 4 4 5 5 4 6 6 6 6 6 6 3 3 9 9...

5 years ago | 1 answer | 0

1

answer

Question


Fill a matrix after an iteration
Hi, given the following code: PPP=[ 18 19 20 13 18 16 19 3 2 3 3 2 2 2 1 2 1 2 1 2 1 4 2 4 2 4 2 4 2 4 8 1 1 1 1 8 4; 18 1...

5 years ago | 1 answer | 0

1

answer

Question


Rearrange an array based on another array
Hi, given the following array SPI = [1 2 3 4 5 6 7 8 9 10 11 12 13]; VI = [ 5 20 10 15 5 20 10 15 1...

5 years ago | 1 answer | 0

1

answer

Question


Rearrange an array based on a matrix
Given the following arrays V= [4,2,4,2,1,1,4,2,1,2,6,2,2,4,6,1,2,6,2,2,2,6,8,8,7,7,8,7,7,7,7,8,7,7,6,6,9,9,9,8,8,8,9,8,9,8,9,8,...

5 years ago | 1 answer | 0

1

answer

Load more