photo

Sumanth


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


adding cells of two arrays
A = [10,9,13,21,18] [9,9,11,18,18] B = [11,10,12,20,19] [10,9,13,21,18] How can i add both? such that C = [21, 19, 25, 41, 37...

1 year ago | 2 answers | 0

2

answers

Question


How can i rewrite this logic for n elements?
if q(1,1) == 1 disp("q1 is selected") D = D1; P= P1; elseif q(1,2) == 1 disp("q2 is selected") D = D2...

1 year ago | 1 answer | 0

1

answer

Question


comparision of data with logic given as input
This is a sample data for 3. I am stuck at how to write the same logic for 10 such that there should be comparision for all the ...

1 year ago | 2 answers | 0

2

answers

Question


how to use elements from array to sort data
numdata = xlsread("res Data.xlsx"); 1500 1500 500 1500 500 2500 850 850 200 850 200 1000 2800 2800 1700 2800 1700 5200 500 5...

1 year ago | 3 answers | 0

3

answers

Question


How to change a range of numbers in a matrix to a random number of a matrix?
G = (1:125); G = reshape(1:125,[25,5]); x = setdiff(0:24, 2:25); G is my matrix now i want to change element values ranging f...

2 years ago | 1 answer | 0

1

answer

Question


How to remove specific numbers from an array?
lb = [0 0 0 0 0]; ub = [24 24 24 24 24]; How can I remove or not consider certain values in the array? For each 0 - 24 range ...

2 years ago | 1 answer | 0

1

answer