Community Profile

photo

Geoff Hayes


Last seen: Today Active since 2014

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

Statistics

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

View badges

Content Feed

View by

Answered
Open file selection dialog, and get an error message when no file is selected
@Hidd_1 - on my version of MATLAB (2021a), if I don't select a file, then the parameters file and filepath are 0. You could add ...

3 days ago | 0

| accepted

Answered
I can not write text on an image by insertText
@Xiaoai Chen - should the value input parameter be a cell array of strings rather than an array? Please see text (of insertText0...

5 days ago | 1

Answered
how to use three pop-up menu to get result in a screen(GUI, using guide)
@Tahani Alajmi - when you launch the GUI and press the convert button, you will see an error in the console window: Index in po...

6 days ago | 1

| accepted

Answered
search content in table
@VISHNU DIVAKARAN PILLAI - you could try something like dcode.d_address(strcmp(dcode.d,'D')) where we use strcmp to return a l...

8 days ago | 0

| accepted

Answered
How to simply record a string of sound from the computer microphone?
@John - try using the audiorecorder. One of the (simple) examples from here is recObj = audiorecorder; % create the object r...

8 days ago | 1

Answered
Im using randsample() but im getting an error
@Tariq Hammoudeh yes, randsample requires the Statistics and Machine Learning Toolbox. If you just want to choose one random ele...

12 days ago | 1

| accepted

Answered
How can we run many simulations at the same time? (for example for 1000 simulations)
@AT - please clarify what you mean "it doesn't work properly". What are you expecting to happen? Or are you getting the same re...

18 days ago | 0

| accepted

Answered
How can i implement a timed counter in app designer
@Keenan Jogiah - you could create a timer object within the app that you would then start and stop based on the toggle. In this ...

29 days ago | 0

| accepted

Answered
Hi. I am trying to clear my channel feed using my channel Id and USER_API Key, but all the time I got "provide proper authentication details". Thanks in advance.
@Carlos A. Jorge - from the clear channel page, the code for POSTMAN is something similar to the above, but the CURL is a little...

29 days ago | 0

Answered
Unrecognized function or variable 'correct_Fz'. so I can't plot correct_Fz
@hue phan - how do you know if correct_Fz is getting intialized or updated with data? You have a condition in your for loop that...

29 days ago | 0

Answered
how to display any image for 500 ms
@ANKIT MAURYA - you can try using a timer to stop displaying the image (or in this case, the figure for the image) after 0.5 sec...

29 days ago | 1

| accepted

Answered
when I run this code it gives me an error message but I can not figure out what is the problem?
@Faisal Alrafaei - you are trying to use the variable y before it has been defined audiowrite('C:\Users\201802108\Desktop\EN706...

29 days ago | 1

Answered
calling a function from a script
@Ilias Minas - can't you just replace f with differential like t0 = input ('Enter initial value of time'); % Value that time st...

1 month ago | 0

| accepted

Answered
Handling unit conversion in a simple App Designer application
@Lucas Nogueira - I think that you would need to keep track of (in addition to the current cruise airspeed), you would need to k...

1 month ago | 1

Answered
How to plot subset using editfield in app designer
@義典 鈴木 - if you only have a small set of variables to choose from (i.e. 'L', 'a', and 'b') then consider using a radio button gr...

1 month ago | 0

Answered
How to display an image every time a button is pushed in App designer?
@Kyle Ramphal - you might instead try inserting the n copies of an image within a larger image. Your larger image would act as t...

1 month ago | 0

| accepted

Answered
How to update a graph with timer ?
Hi @Alan Martínez - the default timer function callback signature takes two inputs only. You are using that default definition h...

2 months ago | 0

Answered
How to save all jpg data after preprocessing into workspace?
@Ou Jin Sheng - imwrite writes data to a file as imwrite(dataArrayOrMatrix, 'filename') Your code is doing something different...

2 months ago | 0

| accepted

Answered
can someone help me with this?
@yusuf rahmat are you sure that this Undefined function or variable "frame". Error in ForTA>test_mfcc_Callback (line 304) rata...

2 months ago | 0

| accepted

Answered
How do I remove the tail on an animation?
@Courtney Navarre - since you have the handle s2 to the surf object that you replace on each iteration of the loop, then jusst d...

3 months ago | 0

| accepted

Answered
saving figure with title as name of file
@C.G. - since you have the file name in your files structure, then you could just do for a = 1:num_files matFileName = fil...

3 months ago | 0

| accepted

Answered
How to use recordblocking for an infinite interval?
@Marie Kate Palau I don't think you want to use recordblocking since that would prevent you from stopping the recording after an...

3 months ago | 0

Answered
How to save a value from an array if a condition is true
@Tejashree Pawar - do you need to use a loop? For example, if your X and Y arrays are the same dimensions, then (for example) if...

3 months ago | 1

Answered
Trying to delete the previous data/line from a next button using matlab Gui
@Franck paulin Ludovig pehn Mayo - If you only want one patch object to appear, then you will need to delete the old one before ...

3 months ago | 1

| accepted

Answered
Constants not recognized in integral
@Florian Spicher - rather than using a script, try including the above code in a function instead (see functions vs scripts fun...

3 months ago | 0

Answered
Hello everyone, In the following code, I am trying to record V values in the matrix V_mat not just the last value. Please help me how can I do it.
@Mohammad Dawoodzada - initialize the matrix outside of your loops (rather than on each iteration of the inner loop) and keep tr...

3 months ago | 0

| accepted

Answered
How to nest callback into while loop?
@Sergey Lopatnikov - the _'event_data' in callback function is not recognized_ error message makes sense since you are trying to...

3 months ago | 1

| accepted

Answered
Understand a command line to create a matrix
@Mark Sc - this is an interesting piece of code. Given that >> x = (1:npoint) x = 1 2 3 4 5 and tha...

3 months ago | 0

| accepted

Answered
How to turn a matrix into a vector without using for loop !
@daniel adams - try using reshape.

3 months ago | 1

| accepted

Answered
gui executing input parameter
@AStro you may need to post more code as it isn't clear what you might do with the data you read. But whatever it is, you can sa...

3 months ago | 1

| accepted

Load more