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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

| accepted

Answered
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,'...

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 1

| accepted

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 1

| accepted

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

| accepted

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

meer dan 2 jaar ago | 0

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

meer dan 2 jaar ago | 0

| accepted

Load more