Community Profile

photo

Geoff Hayes


Last seen: Today
2,878 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
convert char to double
Farshid - try using cellfun. It seems that the pn is a cell array with 38 elements and each element is a 8x1 char array. You hav...

18 hours ago | 0

| accepted

Answered
Fixing an eroor in simple if-function
David - yes the problem is with your condtion. Note that size will return an array where each element is the size of the dimensi...

18 hours ago | 0

Answered
Displaying the result of a pushbutton command in AppDesigner
Tiffany - in your pushbutton callback function RandomFluorescenceValueGeneratorButtonPushed(app, event) a = 0; %min fluore...

20 hours ago | 0

| accepted

Answered
URGENT HELP NEEDED FOR PROJECT
Rahul - when I run your code, I observe the following error Undefined function or variable 'ro2'. Error in NAviGAtiON/vehicl...

23 hours ago | 0

| accepted

Answered
Send a compressed image from matlab to c++ via TCP
JJ - did you save the compressed image to file? Have you considered using fread to read the compressed image file and then send ...

1 day ago | 0

Answered
How to create a .txt file in matlab to report mt output
From fprintf, use fopen to create (or open) a file and write to it as fid = fopen('myDataFile.txt', 'w+'); fprintf(fid, 'The p...

1 day ago | 1

| accepted

Answered
Concatenate images without image toolbox/montage function
matquest - a very simple (hopefully accurate!) way would be to detemine the maximum width (columns) and height (rows) of the two...

1 day ago | 0

| accepted

Answered
i want when the user inputs on a matrix or vector to be required to include the clecius symbol how would i do tha?
Alex - if you just want to show the degrees symbol, then you could do something like >> degreeSymbol = char(176); % 176 is unic...

1 day ago | 0

Answered
Dot indexing is not supported for variables of this type.
Charles-Antoine - it seems that it is the same line that is causing the problem this.getForcesReactionsIemeNoeud(indiceNoeud).g...

1 day ago | 0

Answered
"Failure in initial objective function evaluation"
Leon - where have you defined your objective and constraint functions relative to the "main" code (i.e. that code where you crea...

2 days ago | 0

| accepted

Answered
Title on the colour bar and legend issues
charlotte - you might be able to set the Position property of the label. To check the current position, you could try hLabel = ...

2 days ago | 0

Answered
How to make morse code on GUI and display it on text box?
Siti - in your PB_M_Callback callback (which presumably converts the alphanumeric text to morse code), the code is % --- Execut...

2 days ago | 0

Answered
How do I resolve 'Conversion to cell from double is not possible'?
Ashton - try replacing the () brackets with {} braces if app.Type1_Select.Value == 1 rates{1,1} = xlsread('Rates.xlsx','C3...

2 days ago | 1

| accepted

Answered
ERORR "CANNOT FIND 'GET' METHOD FOR STRING CLASS.
Khanh - the problem is that edit is an array of strings to edit text control handles and is not an array of the handles themselv...

2 days ago | 0

Answered
How can I avoid flickering animation of multiple balls using plot3?
Matthias - rather than deleting the balls (on each iteration), try re-using the graphics object handle to each ball: close all;...

2 days ago | 0

Answered
gamultiobj - Not enough input arguments
olga_vm - the signature for your fitness function is function z=myfitnessfunction(x,y) with two inputs, x and y. The error mes...

3 days ago | 0

Answered
How to use webread with a variable (from a table) in the url
Benjamin - you need to specify a format when using sprintf so that the code is included in the string. For example, >> code = '...

3 days ago | 1

| accepted

Answered
Reading .txt files and replace numbers from one file to another
Ivan - try using importdata to read your text files, perhaps something like file1Data = importdata('file1.txt', ' ', 1); % skip...

4 days ago | 0

Answered
How to ask the user of my project to name and save there work?
Brogan - consider using the uiputfile dialog to prompt the user to choose a folder and filename for their data [filename, path...

4 days ago | 1

Answered
Finding mean value through every 12 columns of nested doubles in cell
Gabrielle - d_meanm is a 1x36 array and you want to find the average of each of the three years, then you could reshape the arra...

4 days ago | 0

| accepted

Answered
cut's video to give start and end postion in matlab
Irfan - try using the videoreader to load the video and read only the frames that you are interested in. The videoreader object ...

5 days ago | 0

Answered
Control ONE Pop Up Menu depending on ANOTHER Pop Up Menu
Miss B - which version of MATLAB are you using? On older versions, you may need to do something like if get(hObject, 'Value') =...

5 days ago | 0

Answered
How can I resolve this problem regarding nested functions?
Cyrus - from Requirements for Nested Functions, You cannot define a nested function inside any of the MATLAB® program control st...

5 days ago | 0

Answered
How to set togglebutton by another togglebutton
Miroslav - one problem is with the two lines set(handles.TB_med_ZV, 'Value', 'Min'); %turn off toggle buton and set(handles....

5 days ago | 0

| accepted

Answered
Break statement inside an if statement
Darragh - the error throws an error and displays a message, so the break will never be called...and so the error message makes s...

6 days ago | 0

Answered
How can I input "function Txy (Z1,Z2,P)" properly?
Kalynn - it sounds like you are calling the function from the command line like >> function Txy (Z1,Z2,P) The function keyword...

7 days ago | 0

Answered
How do I ignore characters in a text file
Cole - since this is homework, we can only give out hints...so there is an example at textread that describes how to ignore a sp...

7 days ago | 1

Answered
Splitting piano song .wav file into sections is resulting in the same frequency instead of different frequencies.
Voltarian - since you have the audioBlock (of one second's worth of data) wouldn't you just use the code that you already have t...

7 days ago | 0

Answered
Real Time Data Plot
mehmet - every time you call plot you create a new graphics object, so you could just re-use a single plot object on every itera...

7 days ago | 0

Answered
Sum of values stored in an array of handles
Juri - the only problem that might exist for you (it did for me when i tried this) was that get(bl(i,:),'value') returned a c...

8 days ago | 0

Load more