Community Profile

photo

Geoff Hayes


Last seen: en dag ago
3 053 total contributions since 2014

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

Geoff Hayes's Badges

  • Revival Level 3
  • First Review
  • 36 Month Streak
  • Thankful Level 1
  • Ace
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Promoter
  • Solver

View details...

Contributions in
View by

Answered
Displaying video file on App Designer Axes
Zachary - please see the example found at Read Video Using Frame Index and Time Interchangeably. I suspect that you could do som...

2 dagar ago | 0

Answered
Find function can not find vector element index
You can't use the equality operator == with doubles. See Floating-Point Numbers for details. Instead you need to use a tolerance...

2 dagar ago | 0

| accepted

Answered
Why function crashes when using conditional statements?
Tara - try replacing the switch with an if and use a tolerance check (note that using a switch statement for doubles or floats w...

2 dagar ago | 0

Answered
Using AppDesigner with FileSystemWatcher
Summary of issue: from Create event listener bound to event source it shows that the call to addlistener returns an object. In t...

5 dagar ago | 0

| accepted

Answered
Filter Table with Generalized Values
Neeraj - how about trying something like filteredTable = t(t.Age == 20 & strcmp(t.Gender, 'F'), :) or are you hoping for somet...

6 dagar ago | 0

| accepted

Answered
Image Processing in GUI Error
Muhammad - please post the full error message (so all of the red text) so we can narrow down which line of the callback is gener...

8 dagar ago | 1

| accepted

Answered
Though the code is pretty simple, still the value of theta remains 0 every time I execute the results with different values of w,x,y,z,u and v. The value of theta doesn't change anytime.
Srinjoy - the problem is that you are using the equality operator when comparing floats. Look at your conditions for the if/else...

10 dagar ago | 1

Answered
HERE RESTful API - POST - Fleet Telematics
Sridhar - the 400 error code indicates (if I recall correctly) that there is a problem with your request. I see that you call w...

10 dagar ago | 0

Answered
Single Figure Animation of moving points (without tails)
Luca - use set to modify the x and y data of the plot. Replace your for loop with the following hPlot = plot(NaN, NaN, 'db'); ...

11 dagar ago | 1

| accepted

Answered
Why is my plot not showing?
Tony - your code is not calling the TranMat function which has the code to plot the data. How should it be called? What do the a...

12 dagar ago | 0

| accepted

Answered
fopen status for serial objects
Could you use a try catch block to try to open the serial object and then, if there is an error, take the appropriate action giv...

16 dagar ago | 0

| accepted

Answered
Can sfit objects be plotted to specific axis in GUI (not a figure window)?
Giorgio - from Plot cfit or sfit object, the code to plot the sf object would be plot(sf, 'Parent', app.Map) . When you try to...

18 dagar ago | 1

Answered
Nested If-ELSEIF statements
Hans123 - do you really need nested if-elseif blocks to change the extreme points? Wouldn't you just do them for x, y, and z sep...

18 dagar ago | 0

| accepted

Answered
why i am getting error while using editable text in guide?
Ajay - look closely at the results from which uicontrol --all: C:\Users\ajayr\Documents\MATLAB\uicontrol.m built-in ...... % s...

19 dagar ago | 1

| accepted

Answered
how to open a file from the previous folder
Alajendro - you should be able to use pwd to determine the current folder, and then "navigate" up one directory to A and then do...

22 dagar ago | 0

| accepted

Answered
How can I update the plot in App designer?
Rasheed - i might use a timer to update the plot (or animated line) and then whenever the "Update" push button is called, the up...

23 dagar ago | 0

| accepted

Answered
error undefined fuction and varible
Deepak - it looks like you have copied this code from (perhap) https://www.mathworks.com/matlabcentral/answers/435101-this-is-my...

23 dagar ago | 0

| accepted

Answered
How to use "record" command for some amount of time?
Oai - from Record audio to audiorecorder object, you can specify the length of the audio recording as r = audiorecorder(8000,16...

24 dagar ago | 0

| accepted

Answered
Plotting analog input continuously on a given axis
Niraj - if you don't declare daqObj as a global variable, then it will be a local variable. When your function "completes" (afte...

25 dagar ago | 0

| accepted

Answered
I get an error when running anomaly time series code in the app designer.
Özge - the output of timeseries is an object and so you need to plot the appropriate data from this object and not the object it...

25 dagar ago | 0

| accepted

Answered
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
nada - I think that you are trying to set the string property for each of the three edit fields to be the same value. Note that ...

25 dagar ago | 1

Answered
Issue with plotting multiple data points on same graph
Oscar - look closely at the y-axis for the first image (that which plots both elements). There seems to be a factor of 10^4 so t...

ungefär en månad ago | 0

Answered
matlab.error graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MTF_Radial('pushbutton4_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating UIControl Callback
Nazil - the problem is with your function signature function [IC]=f_SegmentasiHU(img1.IMA); Note how you are defining the (onl...

ungefär en månad ago | 0

| accepted

Answered
App Designer: The Value Assigned Might Not be Used
William - I think that you have your assignment reversed. Instead of Output = trialfunction(app.I_M,filter_size) Output = app....

ungefär en månad ago | 0

| accepted

Answered
image changing gui matlab
So once you have created the salida array you need to determine which GUI action will invoke the process to display all the imag...

ungefär en månad ago | 0

Answered
why the error occur when i use horzcat fuction
Shehab - are you sure that the y is a 1x2 array like [2,3]? Or is it a 2x1 array like [2,3]'? If the latter, then you are trying...

ungefär en månad ago | 0

Answered
I want to restart the loop from starting when a specific condition is met.
Sanyam - perhaps use a while loop instead. a = table2array(BRTSTestData); c = 20; f = 1; s = 0; i = 1; while i <= 5 f...

ungefär en månad ago | 0

| accepted

Answered
Errors in Simulated Annealing (simulannealbnd) algorithm.
Giuseppe - the error message is telling you that the code in your ForexFun is NOT using positive integers or logical values when...

ungefär en månad ago | 1

| accepted

Answered
The function sqlread isn't working
cief - according to the sqlread documentation, this function was introduced in R2018a. It seems that you will need to upgrade fr...

ungefär en månad ago | 1

Answered
function inside main program
Chrys - in your function, you are referencing the variable X but it isn't been defined either within that function or passed in ...

ungefär en månad ago | 0

Load more