# Sumanth

Last seen: mer än ett år ago Active since 2023

Followers: 0   Following: 0

#### Feeds

View by

Question

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...

mer än ett år ago | 2 answers | 0

### 2

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...

mer än ett år ago | 1 answer | 0

### 1

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 ...

mer än ett år ago | 2 answers | 0

### 2

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...

mer än ett år ago | 3 answers | 0

### 3

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...

mer än ett år ago | 1 answer | 0