Community Profile

photo

Mehmed Saad


Last seen: Today
325 total contributions since 2020

Contact

Mehmed Saad's Badges

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

View details...

Contributions in
View by

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

11 hours ago | 0

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)

24 days ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 month ago | 0

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

1 month ago | 0

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

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

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

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

1 month ago | 0

| accepted

Answered
Removing any previously draw roi on an image
findobj(ax,'Type','images.roi.Ellipse')

2 months ago | 0

| accepted

Answered
Inaccurate data in datatips of MATLAB plot
fig = figure; plot(1:3455297,1.026*ones(1,3455297)) X=datacursormode(fig); X.UpdateFcn = @myupdatefcn; where myupdatefcn ...

2 months ago | 0

Answered
Plotting 20-100 line with different distinguishable colors and shades on the same figure using a for loop
Try the following strategy cmp=distinguishable_colors(20); f=figure; ax = gca(f);ax.ColorOrder = cmp; hold on; A = rand(100...

2 months ago | 0

Answered
How can I recenter a map
Use fftshift for that purpose.

2 months ago | 0

Answered
Multiple plots in uitab/uitabgroup
The Dumb Way I found another way to do that (maybe it's not that efficient) Basically subplot will plot all data on figure whi...

2 months ago | 0

Answered
Transpose a structure with named fields ?
if all of them are scalar then this will work s_mod=structfun(@transpose,s,'UniformOutput',false)

2 months ago | 1

| accepted

Load more