photo

mahfoudh Abdu


Active since 2016

Followers: 0   Following: 0

Statistics

MATLAB Answers

9 Questions
0 Answers

RANK
177,383
of 302,353

REPUTATION
0

CONTRIBUTIONS
9 Questions
0 Answers

ANSWER ACCEPTANCE
77.78%

VOTES RECEIVED
0

RANK
 of 21,734

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 181,454

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 3

View badges

Feeds

View by

Question


Hi every one , Is there any way to fill specific cells of a matrix with random number Not all the matrix ?
<</matlabcentral/answers/uploaded_files/77764/Capture.PNG>>

9 years ago | 1 answer | 0

1

answer

Question


Hi every one , I need to construct a binary Array such that each time i can add another cell to it ? as shown in the code below .,, but i got an error
>> A1=[1 1 1 1 0 0 0 0]; >> D=[A1]; >> D(2)=[0 0 0 0 1 0 1 0];

10 years ago | 1 answer | 0

1

answer

Question


Hi every one , i wrote a simple Gui1 that takes three values from the user then stores them in its UserData to call them back from Gui2 ,But it results in an error , even i set HandlesVisibity of Gui1 ?
function pushbutton1_Callback(hObject, eventdata, handles) Address=str2num(get(handles.edit1,'string')) Tb=get(handl...

10 years ago | 0 answers | 0

0

answers

Question


H i every one , i need to declare a counter such that if any one of the four buttons is pressed a specefic funtion specified in the fifth button is performed.Suppose UserData can not be used it reserved for something else
function pushbutton1_Callback(hObject, eventdata, handles) counter=1; function pushbutton2_Callback(hObject, eventdata, hand...

10 years ago | 1 answer | 0

1

answer

Question


Hi every one, I wrote a simple code in GUI that ask the user to enter a string such as (I.2) usin inputdlg then convert it to binary , but i got an error !! my code is provided below .
elseif button_state == get(hObject,'Min') address=inputdlg('enter an address'); d=double(address); s=de...

10 years ago | 1 answer | 0

1

answer

Question


Hi everyone Is there any way to pass more than one variables with different data types through the UserData Property for any UIcontrol in GUI ?
function pushbutton1_Callback(hObject, eventdata, handles) % i need to pass both a and b to another callback a...

10 years ago | 1 answer | 0

1

answer

Question


Hi everyone , i have a simple code that used to resize a figure in GUI by pressing a pushbutton ,but i got an error using getpixelposition command
function pushbutton8_Callback(hObject, eventdata, handles) p=getpixelposition(handles.figure1,'position'); p1=p+[0 0 0...

10 years ago | 0 answers | 0

0

answers

Question


hello i am working on GUI and i wrote a simple code that get the position of the pushbutton once it is pressed then send it thruogh the UserData property to the uipushtool which will display a resized picture on the pushbutton CData
function pushbutton3_Callback(hObject, eventdata, handles) p=getpixelposition(hObject); set(handles.uipushtool1,'User...

10 years ago | 1 answer | 0

1

answer