Community Profile

# Eiman Rana

Last seen: 11 months ago Active since 2021

View badges

#### Content Feed

View by

Question

how to assign imagesc to figure 1
In this part you will write a program to perform a simple analysis of a random image. First, generate a random array of size 40x...

11 months ago | 2 answers | 0

### 2

answers

Question

What is wrong with A = alter(a)?
N = 500; A = zeros(N); A(20:50, 75:100) = 6; for i = 1:10 A = alter(A); figure(1); imagesc(A); pause e...

11 months ago | 2 answers | 0

### 2

answers

Question

I am unable to display my answers on command window
% Question 1: a = [3 6 1 9; 6 5 3 7; 7 3 2 6]; disp(a); % (a) j = a(1,2); disp(j); if i use disp(a) it doesnt sho...

11 months ago | 1 answer | 0

### 1

answer

Question

We have a column vector and a row vector both of same lengths. How to use sum function to get element wise sum of two vectors and final answer display in row vector
I tried sum(vect1,vect2) and a lot of other ways but I cant get the answer. for example vect1 is a column vector that contains e...

11 months ago | 1 answer | 0

### 1

answer

Question

Construct a 5 x 10 array that contains zeros. Assign elements at (row, column) (3,5), (2,4) and (1, 9) values of 44. Display the matrix.
I am unable to assign the values to the specific element

11 months ago | 1 answer | 0

answer