Community Profile

photo

Mehmed Saad


Last seen: Today
331 total contributions since 2020

Contact

Mehmed Saad's Badges

  • 6 Month Streak
  • 5-Star Galaxy Level 1
  • First Submission
  • Thankful Level 3
  • Pro
  • Knowledgeable Level 4
  • First Answer
  • Leader
  • Commenter
  • Solver

View details...

Contributions in
View by

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

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

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

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

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

27 days 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)

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

1 month 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)

2 months ago | 0

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

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

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

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

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

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

2 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

2 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);

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

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

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

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

3 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)

3 months ago | 0

Answered
How can i Change pixel color?
I = imread('red.jpg'); figure,subplot(121),imshow(I) th = 20; [x,y,~]=size(I); for ii=1:x for jj=1:y if((I(i...

3 months ago | 0

| accepted

Answered
How to insert arrows at the middle of each of the parallel lines
https://www.mathworks.com/matlabcentral/answers/92988-how-do-i-plot-a-line-that-has-an-arrow-on-the-end-of-it-in-2-d-and-3-d ht...

3 months ago | 0

Answered
I have 2 contours on the same plot and I want to differentiate them with colours so I can see the difference.
I = imread('rice.png'); figure,subplot(121), imcontour(I);ax = gca; colormap(ax,'cool') subplot(122); imcontour(I);ax = gca...

3 months ago | 0

| accepted

Answered
How can I copy figure to UIAxes?
a = uiaxes; b = getframe(gca); imshow(b.cdata,'Parent',b) There might be some quality issues

3 months ago | 0

Answered
Remove peak at 0 hz of fft
FFT of X FFT of X High pass filtered

3 months ago | 0

Answered
Excel file processing on GUIDE
https://www.mathworks.com/help/matlab/import_export/ways-to-import-spreadsheets.html

3 months ago | 0

Answered
How to detect the uitable on GUI
all(cellfun(@isempty, data(:))) error is in this line. data(:) is a double array on which you are trying to apply cellfun al...

3 months ago | 0

Answered
3D-Surface between 2 lines.
I have a layman approach for this (The dumb method) get co-ordinates by cursor export them to workspace save it in a vari...

3 months ago | 0

Answered
How to solve normalize issue for app designer?
https://www.mathworks.com/help/matlab/creating_guis/managing-resizable-apps-in-app-designer.html

3 months ago | 0

| accepted

Load more