Réponse apportée
How to make a target appear and then disappear
@Dax Cvancara - try using a timer to delete the graphics object (of the right dot) after 0.3 seconds. Nest your code into a main...

plus de 2 ans il y a | 0

Réponse apportée
Is there a way to control two subplots with one slider?
@Derrell Dsouza - I think the issue is with your call to imagesc where you are not specifiying the axes upon which to draw the i...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Have a issue in running Dstar path planning
@Yasaman Hajnorouzali - your link points to the DstarPO rather than the DstarMOO but I think the issue is that you aren't passin...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
hORİZONTAL AND VERTCAL WİTH SAME THİCKNESS BUT DİFFERENT OUTPUTS İN GUİDE
Fix seems to be to update the style of the axis...changing the code from axis(handles.axes1,'equal'); to axis(handles.axes1,'...

plus de 2 ans il y a | 0

Réponse apportée
How do I take input through the editbox in GUI and then pass the data in a script(.m) file?
@Animesh Anand - you will need to convert your code from a script (if that is what it is) to a function so that you define the c...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
MATLAB GUI calling external function
@Jason Chang - you will need to change the signature for your appsynthesizertestcode function so that you can pass in the parame...

plus de 2 ans il y a | 0

Réponse apportée
How do I connect my strings to my function?
@Natalie Merchant - I may not have grasped exactly what you want, but I think from the code and your question, you are looking f...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Create a highscore im matlab GUI video game
@Ruslan Avramenko - in the restart button callback, you will want to compare the number in the high score field with that in the...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Cut measured data, time series shifted
@Mark S - since the first column on M corresponds to time, and since you divide that column by 1000, you would want to find all ...

plus de 2 ans il y a | 0

Réponse apportée
how can I convert Tiff images with different timepoint to Mp4?
@Abdallah Almahmoud - are you trying to read multiple TIFF files with t = Tiff([folder 'test_27_Hour_00_Minute_00_Second_00...

plus de 2 ans il y a | 0

Réponse apportée
Multiple table input issues
@Peder Axensten - try creating a cell array of the data that you wish to save (I'm assuming that each iteration could produce a ...

plus de 2 ans il y a | 0

Réponse apportée
How can I remove the extra blank spaces from a text?
@Tiziano dos Santos - you could perhaps use strsplit to split the string on the space character and will create a cell array of ...

plus de 2 ans il y a | 0

Réponse apportée
Nested loop creating two dimensional cell
@Marisa Mulvey - looking closely at your inner loop for j = 1:wCond filename = triallist{j}; calcdata{i,j} = calc_spl...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
how can create Changing lamp color with start and stop button
@Amir Azadeh Ranjbar - you would need callback functions for your start and stop buttons. These callbacks would then change the ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
how to plot from input (function)
@Anwar Alm - you could use str2func to convert the function string to a function handle and then evaluate in your code. In this ...

plus de 2 ans il y a | 0

Réponse apportée
My while loop will not stop even when it no longer meets the requirements, how do I fix this?
@Matthew Smyth - look closer at your while loop condition while ~(guessesLeft <= 0) || ~(correctCount == length(guessingWord-1)...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to combine animations, add title and edit limits
@Grigorios Chatziandreou - the animate_pendulum function creates a figure each time it is called which is why you will see one f...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Implementing perceptron using while and for
@Nick Vasilakis - your while loop looks like while sum(abs(y-y_problepsi))~=0 delta_w=0.7*(y-y_problepsi)....

plus de 2 ans il y a | 0

Réponse apportée
Have a partial code but I cant get it to perform where if falls to the right.
@Blain Wood - I think you need to change the first condition of elseif 75>chance && chance<=89 to elseif 75 < chance && chanc...

plus de 2 ans il y a | 0

Réponse apportée
Error 'Array indices must be positive integers or logical values.' matlab gui
@Lai Ken Siang - I think that you will need to revisit your code. When the string is '...---...', how does the code know where ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Get label name of item in dropdown menu
@John F - since you are passing the drop down objects into the callback, I think you could just do function update_perf_plot(xd...

plus de 2 ans il y a | 0

Réponse apportée
Equation is working but the output is not displaying
@Nicholas Mun - without knowing exactly what the input string looks like, I think that you need to replace output_string = [out...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to display audio file length in Matlab GUI
@Nikos Korobos - if you are using an audioplayer, you could use the CurrentSample to determine how many samples havve been playe...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
App Error 'value' must be double scalar within the range of 'limits' Can't really find a way to fix
@Matthew Moniz - I think one of the problems is with the code here function CalculateButtonPushed(app, event) Roll=app.Pla...

plus de 2 ans il y a | 0

Réponse apportée
Error ' Index in position 2 exceeds array bounds'.how to correct this.
@susan sara - in your while loop conditions while(abs(a(k)-a(k-1))>=0.01) && abs(b(k)-b(k-1))>=0.01 && rms(abs(A(:,k)-A(:,k-1)...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Audioplayer StopFcn is executed even when I pause my audioplayer
@Shadow_man - it doesn't seem correct that the stop function is called when the audio player is paused especially given the docu...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Making circular shapes using equation of circle
@hamzah khan - I think the issue is with the bounds for your grid xmin = min(Data_agglo(:,2)-R); xmax = max(Data_agglo(:,2)+R)...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Using "imread" to process multiple images
@Dongsu Kim - from your code for n=2:400 %Load image file images{n} = imread(sprintf('C1S0076%08d.tif',n)); end Im1 = ma...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
music piece with matlab
@Giovanni Scamardo - from https://www.mathworks.com/matlabcentral/answers/335544-matlab-play-notes-for-different-duration-s-as-s...

plus de 2 ans il y a | 0

Réponse apportée
Storing information from a loop over 3 variables
@RP - look closely at this code for i=1:4 for j=1:4 for ii=1:9 muy=-muinputs(i)*SCR; si...

plus de 2 ans il y a | 0

| A accepté

Charger plus