Community Profile

photo

Geoff Hayes


Last seen: 3 días ago Active since 2014

Professional Interests: Software Engineering, Target Tracking, Video Streaming apps

Professional Interests:

Statistics

All
  • Master
  • MATLAB Central Treasure Hunt Finisher
  • Revival Level 3
  • First Review
  • 36 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 5
  • First Answer
  • Scavenger Finisher
  • Promoter
  • Solver

View badges

Content Feed

View by

Answered
How do you create callback inside the callback?
@SooYoung Oh - highlight the button (from within App Designer) and right-click to select Callback -> Add ButtonPushed callback (...

4 días ago | 0

Answered
"brake" not working in Matlab 2021b - is there a fix or work around?
@William Farrell - the keyword is break not "brake".

6 días ago | 0

Answered
TOOLBOX_MFO HAS
@bahar vojdani - I suspect that you are launching the MFO_toolbox.fig (figure) and not running the MFO_toolbox.m file (in fact, ...

7 días ago | 0

Answered
error message in app designer when closing app
@Leon - rather than using a while loop to update your label (which I suspect is the cause of the error), I recommend using a tim...

7 días ago | 0

| accepted

Answered
Why is my plot not showing anything?
@Aarya O - consider this line x = linspace(0,10,1); where you say that you want 1 linearly spaced item between 0 and 10. So th...

10 días ago | 1

Answered
im currently still learning how to do Matlab why do i getting Index in position 1 exceeds array bounds. Index must not exceed 6? (line 51) Rob.plot(y(i,:));
@Timothy Ambun - the error message is telling you that there are only 6 elements in y so for i = 1:1:51 atj=Rob.fkine(y(1,...

10 días ago | 0

| accepted

Answered
I want to use a for loop inside a function, where the for loop contains a subfuction. Each loop must store the variable value and make a matrix of all values, but I get 0s :(
@Nikolas Katsantonis - you are using a as an integer and as a result from test a=5; for n=1:a %<--- a...

10 días ago | 1

| accepted

Answered
The end operator must be used within an array index expression.
@Haya Ali - from this line plot(t(45/dt:end),minf(45/dt:end-1), 'r',t(45/dt:end), w(45/dt:end-1), 'g', 'LineWidth', 2) what is...

10 días ago | 0

| accepted

Answered
it says error using assert, assertion failed and error in iuntitled (line 10) assert(ischar(in))
@Ian - as per the function comment, Encode a single character i. I suspect that you are passing something else i.e. a numeric va...

10 días ago | 0

Answered
How to extract the column_13 from 79 csv files and save into the new csv file
@muhammad choudhry - create a cell array to store the 13th column from each file. For example, extractedData = cell(numel(list)...

10 días ago | 1

| accepted

Answered
How to plot histogram on axis in App designer
@Med Future - you can specity the axes as detailed in this example x = randn(10000,1); h = histogram(app.ULAxis, x);

11 días ago | 0

Answered
How to Plot scatterplot in Single loop in App designer
@Med Future - if you create an array of your axes, then you will be able to loop over it. Something like the following might wor...

11 días ago | 0

Answered
If statement dictating acceptable range is not functioning properly, why?
@Aly Osman - what are the units for a and so the units for b? In your looping code, that includes the if statement, you do for ...

17 días ago | 0

| accepted

Answered
Please I have a code but it keep saying Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
@Sedulous12 - there is a semi-colon instead of (perphaps) a comma: 2*DETEnergyDetector(:,11).*DETEnergyDetector(:,12);'k.'); %...

17 días ago | 0

| accepted

Answered
How to autoscroll slider in this case using pushbutton?
@Swetha C - you may want to nest your code within a main function so that you don't have to use the @doc:guidata which may not b...

18 días ago | 0

| accepted

Answered
Return to the start of while or continue the script with an if condition
@JESUS LOPEZ ARENAL - you could put the more code into the else block, or just use continue as while i<j a=rand if a<...

21 días ago | 0

| accepted

Answered
How do I convert a 2d matrix to a 3d matrix?
@Mirza Etnisa - consider using cat to concatente your matrices along the third dimension: result = cat(3, Ekc1, Ekc2, Ekc3, Ekc...

21 días ago | 0

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

25 días 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...

25 días 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...

28 días 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,'...

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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...

2 meses ago | 0

| accepted

Load more