Community Profile

photo

Geoff Hayes


Last seen: Today
3 057 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
why should we multiply the number of samples with sound frequency to calculate the sine wave?
joly - I think that t is usually a time array (in seconds). From fft examples, t can be initialized as Fs = 1000; % ...

3 jours ago | 0

| accepted

Answered
Why can't it proceed to the next iteration of for 'runs' loop?
mrbond99 - please look at the condition for the while loop while m > 0 You will only enter this loop so long as m is positive....

3 jours ago | 0

| accepted

Answered
Appending different size arrays each itteration in app desinger
remco - you could perhaps create a member variable for your App and then update that variable with the y on each call to the tim...

4 jours ago | 0

Answered
Move-File: Can't move certain Files to another Folder!
Malte - you haven't posted the error message or describe fully what you mean by I don't get it to work. According to movefile in...

4 jours ago | 1

| accepted

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

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

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

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

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

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

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

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

15 jours 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'); ...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

environ un mois ago | 0

Load more