Community Profile

photo

Eiman Rana


Last seen: oltre 2 anni fa Attivo dal 2021

Statistiche

  • Thankful Level 2
  • Thankful Level 1

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte