Community Profile

# Mehmed Saad

##### Last seen: 25 days ago
340 total contributions since 2020

#### Mehmed Saad's Badges

View details...

Contributions in
View by

Answered
How to remove unwanted points in point cloud
The cheapest and easiest method is use of brush Select Points you want to delete now press delete

3 months ago | 0

Answered
How to change the color of model obtained from pcfitsphere
load('object3d.mat'); figure pcshow(ptCloud) xlabel('X(m)') ylabel('Y(m)') zlabel('Z(m)') title('Original Point Cloud'...

3 months ago | 0

| accepted

Answered
Removing/clearing NaN/0 values from matrix/array data
A = [0;9;6;4;3];iA = A~=0; B = [1;3;4;0;0];iB = B~=0; ind = iA&iB; A = A(ind) B = B(ind) A = 9 6 B = 3...

3 months ago | 0

Answered
How do I erase following data?
you can use find but not recommended x = [36 33 31 29 30 27 31 33 24]; x(find(x<28,1):end) = nan x = ...

3 months ago | 1

Answered
How to add specified text to coordinates of points in "contour"?
Here is a sample code I hate putting comments in code so try to understand it. [X,Y,Z] = peaks; contour(X,Y,Z,20) hold on x...

3 months ago | 0

| accepted

Answered
Plot not disappearing when using STOP button and visible off
Read this https://www.mathworks.com/matlabcentral/answers/96629-why-does-setting-the-visible-property-for-axes-to-off-also-set...

3 months ago | 0

| accepted

Answered
some thing wrong with SORT function
c = [35 10 16 11 34]; Now after sorting a = [10 11 16 34 35]; what is the position of first index of a in c. it is 2, for 2n...

3 months ago | 0

Answered
App designer UIAxes loop
x.test_1_se = 10;x.test_2_se = 20;x.test_3_se = 30; str_val = strcat('test_',string(1:3),'_se'); y = zeros(1,3); for u = 1:...

4 months ago | 1

| accepted

Answered
calling invisible figures without toggling visibility
f= figure(1); a = axes(f); f.Visible = 'off'; x = 1:10; y = 1:10; plot(a,x,y) Now when you want to see the picure, just...

4 months ago | 1

| accepted

Answered
Matlab is not recognizing variables in function handle
Run following two codes and learn the difference Code-1 (error will be generated) clear fw = {@(x) x+SS;@(x) x+SS+1}; P = ta...

10 months ago | 0

| accepted

Answered
2-d line Plot
figure,plot(1:10),xlabel({'1st line','2nd line'}) Edit1: This is one short method (zoom in zoom out) will not work properly ...

10 months ago | 0

Answered
MATLAB App Designer fetch data from .m file
if you call this function in app designer it will create an outside figure so you need to edit it a bit You need to remove T ...

10 months ago | 0

| accepted

Answered
How can I close a while loop in a callback function
if value is 'off' the while loop condition will give error because on and off are not of same size so replace it will strcmp w...

10 months ago | 0

Answered
Close a message box in a while loop
Approach-1 f = msgbox('The City you entered is not in the list. Please enter a city in the list'); while(ishandle(f)) pau...

10 months ago | 0

| accepted

Answered
How to avoid duplicate random value when open multiple matlab session ?
add this in your code seed = randi(2020); rng(seed)

10 months ago | 0

| accepted

Answered
How to rename an existing structure A by assigning it a name stored in a string
You can use assignin for that purpose A = struct('X',1,'Y',2) new_name='B'; assignin('base',new_name,A); disp(B) B = st...

10 months ago | 0

| accepted

Answered
How to accelerate the process of `find` in large for loop ?
Try the following code A = [1 2 3 4 5 6 5 4 2 7]; B = [2 4 5]; [r,c] = find(A-B'==0); [~,ic] = sort(A(c)); c(ic)

11 months ago | 0

Answered
. xlsx to .csv conversion
https://www.mathworks.com/matlabcentral/answers/165743-converting-xls-and-xlsx-to-csv

11 months ago | 0

Answered
Can a scrip/function be written to navigate and edit data in the variables editor window using Matlab?
Option-1 You can do that using openvar and dbstop x = rand(1,5); openvar('x'); dbstop at 4 bpl = 1; % break point line No...

11 months ago | 0

| accepted

Answered
In MATLAB grader, how can I make assessments about a plot's marker shape or line width?
I dont have access to matlab grader but i think the following solution may work add these two lines in your code template (af...

11 months ago | 1

| accepted

Answered
Setting a Matlab GUI apps main figure to invisble
Run Test2.mlapp. Press To Plot, it will take you automatically to Test1 Test1 and Test2 must be in the same directory H...

11 months ago | 0

Answered
How do I flip an image without affecting the Y Axis?
Use flip (or fliplr,flipud) figure, subplot(211) imagesc(im, 'XData', xdata, 'YData', ydata);set(gca,'YDir','normal') subplo...

11 months ago | 1

| accepted

Answered
Shift data on a figure without reploting
Suppose that i have a figure fig = figure, ax = axes(fig); rng(2017) plot(ax,rand(1,10)) Now i dont know what is my data S...

11 months ago | 0

| accepted

Answered
how can we give x,y,z inputs to kalman filter program with out using inbuilt functions?
read kalman filter and implement its equations

11 months ago | 0

| accepted

Answered
converting column of datetimes in excel to datenumbers in matlab
T = readtable('zetdctestdata.xlsx'); T.datetime = cellfun(@(x)datenum(x,'mm/dd/yyyy HH:MM:SS'),T.datetime);

11 months ago | 0

| accepted

Answered
Small font size of toolbar
https://www.mathworks.com/matlabcentral/answers/446340-how-can-i-change-the-font-size-of-the-toolbars-at-the-top-of-the-matlab-w...

11 months ago | 0

Answered
Matlab jokes or puns
I am a Bit Late for i = 1:10 eval('soundsc([0,0.00234992522746325,-0.00311288796365261,-9.15555283427239e-05,0.003448591567...

11 months ago | 0

Answered
MATLAB Answers Wish-list #5 (and bug reports)
Badges Donot you all think that there should be Reputation Point Badge with the contributors name (untill he became a MVP) inst...

11 months ago | 0

Answered
MATLAB Answers Wish-list #5 (and bug reports)
Someone is Typing (Whistlist) This feature can be very usefull not for the questioner but for contributors. For example Wa...

11 months ago | 4

Answered
Display video-data of a three-dimensional M-by-N-by-T array
You can use implay or vision.VideoPlayer A = rand(360,640,676,'single'); implay(A,60)

11 months ago | 0

Load more