photo

Magdy Saleh


Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to create a matrix with the same number in every few rows?
Create a 250 by 250 matrix: A = zeros(250) And then to fill any 50 rows with a particular number: A(1:50,:) = 1...

6 years ago | 0

Answered
How to separate connected image objects
There are two approaches you can take here, either you write a script that changes the pixel values for the line given you know ...

6 years ago | 0

Answered
Storing while loop values in a vector?? Error
It might be easier here to use a cell array as such fid = fopen('example.txt'); sample={}; %empty matrix count=1; ...

6 years ago | 0

| accepted

Answered
how to make my code simpler ?
Try something like: for i=1:num_elems %assuming you know the number of elements and have set it before hand eval(['TB...

6 years ago | 1

| accepted