Réponse apportée
Unable to place mysql query
Raj - it looks like you are missing some spaces between the word AND and the column 'ANDlatitude_eb BETWEEN'52.5012'AND'52.505...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Produce matrices through for loop
Ali - if the output matrix of each iteration is of dimension 102x1, then you could store each output as a column in a 102xN matr...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
How to convert an array to a one-line string?
Ercument - you could try using rehape to convert your numeric matrix into a single row C = str2num(A) * str2num(B); D = num2st...

presque 7 ans il y a | 5

| A accepté

Réponse apportée
Plot a graph embedded in a function by caling this function in App Designer
Mehmet - does your function (to draw the graph) expect any input parameters? When your GUI is running, at what point do you want...

presque 7 ans il y a | 0

Réponse apportée
Write a function called minimax that takes M, a matrix input argument and returns mmr, a row vector containing the absolute values of the difference between the maximum and minimum valued elements in each row. As a second output argument called mmm,
Is my logic correct? I'm not clear on why you need the m. In fact, doesn't the line of code m=M([1:end,0); fail since there i...

presque 7 ans il y a | 0

Réponse apportée
How can I read the value Speicher1 with a second button disp(Speicher1). Speicher is a class.
Mario - can't you just calculate Speicher1 in your other function? function DateinameEditField_2ValueChanged(app, event) S...

presque 7 ans il y a | 0

Réponse apportée
Save Function Output in a loop
David - what is the error? Which are the output parameters (in your above code) that you want to save on each iteration of the l...

presque 7 ans il y a | 0

Réponse apportée
check box, hey all, im wrote a code for creating a gui that contain checkbox and i cant take the data out of the function when i call it. what should i do?
Guni - rather than having your callbacks write data to the base workspace, you can have your GUIDE GUI output a (for example) st...

presque 7 ans il y a | 0

Réponse apportée
Delete line plot and plot new one on UI Axes
Daniel - I think I understand your intent...but does the code do what you are expecting it to do? Does get(groot,'CurrentFigure'...

presque 7 ans il y a | 0

Réponse apportée
How to terminate or break the pause function
Tonghui - rather than using a while loop with a pause function to periodically perform a task, use a timer instead so that you c...

presque 7 ans il y a | 1

Réponse apportée
Stop the function pause(n)
Rather than using a while loop in your GUI code, use a timer which you can then programmatically start and stop. See https://www...

presque 7 ans il y a | 0

Réponse apportée
"Not enough input arguments " error when using timer
Abdulbaki - the function signature for your timer callback is function DATA(hObject, eventdata, handles) The timer function ca...

presque 7 ans il y a | 0

Réponse apportée
Matlab GUI changing image brightness using slider
Diana - the problem may be with this line of code imbright=(handles.axes1)+val; Note that you are adding a value val (calculat...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
How to iterate xa from 0 to 1 with steps of 0.05 in the function r=F*(k*C*(1-xa))/(1+K*C*(1-xa)). All variables are known except for r.
Marina - try m = zeros(20,1); k = 1; for x = 0:0.05:1 m(k) = F*(k_kin*C*(1-x))/(1+k_ads*C*(1-x)) k = k + 1; end e...

presque 7 ans il y a | 0

Réponse apportée
How can I rename images in a folder
Ronny - let's assume that you have a list of file names (with or without a full path to the file). We can use strrep and movefil...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
how to get the x value for a given y value?
ahmed - your code assumes that there is an x value that is identical to xi z=find(x==xi); This need not be true. And comparing...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Cut and plot Audio Signal (.wav) in specific time
Apridho - you may want to use audioread to read the data from the wav file [y,Fs] = audioread('myAudioData.wav'); Fs will be t...

presque 7 ans il y a | 1

Réponse apportée
Storing data for "for loop"
Khang - don't create variables just for the sake of having variables. If all of your L arrays are of the same dimension, then ju...

presque 7 ans il y a | 0

Réponse apportée
How to impliment a covergence condition?
abdel - perhaps your condtion would be if abs(A(k,i) - A(k+1,i)) <= 0.0001 % do nothing else % replace your value e...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to apply cellular automata to an array of multiple colours?
Obi - presumably your matrix is RxCx3 and that red is (255,0,0), green is (0,255,0), blue is (0,0,255), and white is (255,255,25...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Error using - Matrix dimensions must agree. Error in Eigenfaces (line 14) t=double(z(i,:))-m;
Bereket - the error message is telling you that the matrices upon which you are executing the difference (of), are of different ...

presque 7 ans il y a | 0

Réponse apportée
How do I read raw text from a webpage (ESPN Fantasy Baseball)?
James - as a first step, try using webread to read the data from the URL which you can then pass to jsondecode like urlToFetch ...

presque 7 ans il y a | 1

Réponse apportée
Getting Pop-up menu output as Excel sheet for plotting
Varun - I don't understand this line of code data111=xlsread(handles.popupmenuX,' data11') Why are you using the handle of the...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Using pop-up menu to graph different scenarios
William - there is no need to dynamically create a variable in the base work space to handle the selection in the pop-up menu. I...

presque 7 ans il y a | 0

Réponse apportée
errors in spring mass gui code
William - the code around the error is y=V; %V is the position array of the graph that is graphed in axes2 for k=V(1):5:length...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
How can I periodically update an axes plot in Matlab GUI?
Francesco - while the following code will pass in the handles structure handles.timer = timer('Name','MyTimer', ...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
error using trapz function
mitis - is the error message Subscript indices must either be real positive integers or logicals. Error in ipermute (line 22...

presque 7 ans il y a | 0

Réponse apportée
About the radio button in the app designer
apple - why would you have only one radio button? Perhaps you can use a checkbox instead.

presque 7 ans il y a | 1

Réponse apportée
How to remove invalid left hand side of assignment, invalid "=" usage might be invalid matlab syntax and invalid character(s) in my code? Because this is my final project so i need to submit this. Really need help please.my algorithm also attached.
Hamza - has your code been formatted for LaTeX? Is that why there are references to mathcal? What is N supposed to be defined as...

presque 7 ans il y a | 0

Réponse apportée
How can I write a smart TicTacToe code?
Christian - what are the inputs f_user1 and f_user2? Are one of these the functions that you will create? As for adding intelli...

presque 7 ans il y a | 0

Charger plus