Community Profile

photo

Geoff Hayes


Last seen: 1 dag ago 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 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...

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

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

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

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

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

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

ongeveer een maand 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 ...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden ago | 0

| accepted

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

ongeveer 2 maanden 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...

ongeveer 2 maanden ago | 1

| accepted

Answered
The while loop for my taylor expansion will not check the condition for each iteration.
@Zachary Nies - I don't think your MAXerror ever gets below the condition. When I run your code, the minimum value assigned to i...

ongeveer 2 maanden ago | 0

Answered
How can I call a directory that has a partially variable name (variable in the middle), that precedes a variable filename?
@nailah oliver - consider using dir to get a list of files that match your pattern. The result will be an array of structs that ...

ongeveer 2 maanden ago | 0

| accepted

Answered
How do I read out a specific string/value out of one excel cell
@Benedikt Friedl - take the cell data which is the comma-separated string and then use split to split the string at the commas: ...

ongeveer 2 maanden ago | 0

| accepted

Answered
How to handle radiobutton in radiobutton group panel...
Tyann - I think the assignments in each radio button callback is incorrect pilih = 3; pilih = handles.pilih; guidata(hObject...

ongeveer 2 maanden ago | 0

Answered
Put structure data into GUIDE table
Douglas - perhaps you need to convert the struct to a table before setting the uitable. Try using struct2table to see if that he...

ongeveer 2 maanden ago | 0

| accepted

Answered
Error-check spacing of a vector
Zheng - you are trying to compare two floating point numbers using (in this case) the inequality operand. When comparing two flo...

ongeveer 2 maanden ago | 0

| accepted

Answered
Error : In an assignment A(:) = B, the number of elements in A and B must be the same, used in homework equation. Please help me figure out how to solve.
Kristin - you may be overconplicating it. You say that My thought is that m = is a fine vector, because it isn't a built-in func...

ongeveer 2 maanden ago | 0

| accepted

Answered
given a circle plot all possible tangents
Sparsh - the code from https://www.mathworks.com/matlabcentral/answers/258780-how-to-plot-tangent-line-from-specified-point-to-a...

ongeveer 2 maanden ago | 0

Answered
How to create a MATLAB code for generating audio sine wave signal of frequency ranges from 1Hz to 15kHz and plot it on real time.
Zafar - see the relevant parts of the noisy signal example on how to generate a sine wave with a particular frequency. You will ...

ongeveer 2 maanden ago | 0

Answered
Euler's method
Paul (Adam?) - I think all that you are missing is in your assignment y_values(:,i1)= y_values(i1) + dt * myode(t_values(i1),y_...

2 maanden ago | 0

| accepted

Answered
is it possible to know if an alert dialog box has opened in app designer app?(testing purposes)
Michaela - if your code launches the alert dialog, then you should be able to know that it has launched and so can "skip the ite...

2 maanden ago | 0

Answered
Possible error with dot product
William - from dot, this function returns the scalar dot product of the two input vectors. So in your case, the dot(xa+ya,xb+y...

2 maanden ago | 1

| accepted

Answered
Push the left or right button in the mouse after generating a sound
mohadeseh - one way (and there may be another) is to create a figure and have that figure capture the mouse button events (assum...

2 maanden ago | 0

Answered
graph not displaying with UIaxes
Shu-An - when I run your code, I see the following error Error using ^ (line 51) Incorrect dimensions for raising a matrix t...

2 maanden ago | 0

Answered
Convert UIDatePicker to Default
shnrndll - try setting to the default value of NaT (from Value) as myDatePicker.Value = NaT; where myDatePicker is the uidatep...

2 maanden ago | 0

| accepted

Answered
Calling specific .wav files in nested subfolders
Brian - if you know the path to the file that you want to read, then include that path along with the filename in the code to re...

2 maanden ago | 0

Load more