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
How to save each time step of for loop with a different .txt name
@Flavio Croce - if you just want to change the extension, then you could do something like [~,name,~] = fileparts(files{i}); w...

1 jour ago | 0

| accepted

Answered
How to Add Fitness Limit as Stopping Criterion in Genetic Algorithm?
@Dario Miric - from Stopping Conditions for GA, it mentions that for all of the different stopping conditions, the algorithm sto...

2 jours ago | 0

| accepted

Answered
uigetfile for loading the mat file from different folder
@Prasad Joshi - try using load to load the variables from file into the workspace. I think that is all that you are missing once...

4 jours ago | 0

| accepted

Answered
Undesirable size of resized images
@Daeyeon Koh - I think that you are saving the figure rather than the image that is displayed in the figure to the file saveas(...

8 jours ago | 0

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

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

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

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

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

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

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

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

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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 mois 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...

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

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

4 mois ago | 0

| accepted

Load more