Community Profile

photo

Geoff Hayes


Last seen: Today
3.029 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
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...

circa 21 ore 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...

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

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

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

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

3 giorni ago | 0

Answered
plotting a multiple output function
Moussa - rather than trying to calculate and plot the results of the myrct in one like like plot(myrct(t,f,beta)) split this i...

3 giorni ago | 0

| accepted

Answered
How can I create the slider in my data range and how can my slider auto scroll until my data ends in app designer?
Özge - I think that all you need to do is to change the slider limits so that you can change the mininmum value (0) and the maxi...

3 giorni ago | 0

Answered
Nested For Loop; Combine Two for loops
Elizabeth - perhaps you can combine the two as follows sigmasub_val = 0.1:0.1:3; outputData = zeros(length(sigmasub_val), 2); ...

6 giorni ago | 0

| accepted

Answered
Input and Output GUI using Guide
Dina - when you create a variable like m within your callback function, it is local variable to that function and is not accessi...

7 giorni ago | 0

| accepted

Answered
Saving struct to excel
Deepa - you can use fieldnames to return a cell array of the field names for your structure. You can then iterate over each name...

9 giorni ago | 0

| accepted

Answered
Please find the error
vidushi - the problem is with this line total=[total,sum(v(ii):v(jj))]; and in particular the inputs to the sum function. Her...

9 giorni ago | 0

Answered
square gridlines in the figure
Ugur - it could be that your axes do not have the same data unit lengths. Try using axis equal to ensure the same spacing on e...

9 giorni ago | 0

| accepted

Answered
Graph handles in loops
Michael - since you have already created the handles with the code for j = 1:numObjects handles(j) = plot(stuff(1)); end ...

9 giorni ago | 0

| accepted

Answered
i did this but cant sure about my howemork question 2. can anyone help me?
Emre - the question is asking you to write a function called threshold that determines the number of terms required for the sum ...

9 giorni ago | 0

Answered
After i generate random numbers of x, how can i use this random x values to the rest of the code one by one. Because after that, I want to plot a friction factor-x number grapt with this different numbers
isilay - since x is an array then you can use element-wise power to calculate the friction factor. Just change your line of code...

10 giorni ago | 1

| accepted

Answered
how to write if statement for matrix ?
Ibrahim - what are you trying to do here? Just display (with disp) a message depending upon whether an element is a zero or not?...

12 giorni ago | 0

Answered
How to take values from a matlab file
Max-Henri - since you are loading a mat file, perhaps you can use load instead. Something like [filename, pathname] = uigetfile...

13 giorni ago | 0

| accepted

Answered
HOW TO MAKİNG PASCAL TRİANGLE !!!
emre - your code needs a third loop to countdown from the middle number to 1. Just add the following code after the second loop ...

13 giorni ago | 0

| accepted

Answered
slider for march chart
Lev - why in your SliderValueChanged callback are you overwriting the Slider with its value? I suggest that you remove this func...

13 giorni ago | 1

| accepted

Answered
Update app designer field in external function
Koen - it looks like your sim_cooling_GUI is a function (since you are passing in the app.GUI_Settings so why not just pass in t...

13 giorni ago | 0

| accepted

Answered
Error: Index exceeds the number of array elements(1)
Tatiana - the problem is that a is initialized as a scalar but it is treated as an array at the line A= [A, x, a(x), b(x), z]; ...

13 giorni ago | 0

Answered
How to access a certain line or box in powerpoint via Matlab ?
farzad - from mlreportgen.ppt.Paragraph class, paragraphObj = Paragraph(text) creates a paragraph that contains a mlreportgen....

14 giorni ago | 1

| accepted

Answered
How to create undo and redo buttons in GUI that can be pressed multiple times?
John - without seeing your code, we can't determine why it is allowing you to undo and redo only once. You mention that you have...

14 giorni ago | 1

| accepted

Answered
plot a fitted curve and specified axes
Wave - from plot cfit or sfit object, try doing plot(fitdata, 'Parent', hAxes) where hAxes is the handle to your axes.

14 giorni ago | 0

Answered
I can't choose just names!
Depressive Mood - since this his homework, we can only give out hints. You need to extract the name from between the two asteris...

14 giorni ago | 0

| accepted

Answered
Reference to non-existent field 'image'. Error in Untitled2 (line 10) a80 = double(x1_image.image); -----Need help
Aris - what make you think that image is a valid field for x1_image? In your example, you save the A variable to the 80s.mat fil...

14 giorni ago | 0

| accepted

Answered
Error in XLS Read
Shady - perhaps you need to supply the path to the file? Is the file in the MATLAB search path? Consider using uigetfile so that...

14 giorni ago | 0

Answered
How to create a vector with for loop?
Hamzah - on each subsequent iteration of your loop, you are overwriting the data from the previous iteration since you are setti...

14 giorni ago | 0

| accepted

Answered
How can I put the results from a while loop in a matrix?
Kaicheng - you probably can remove the line syms x y since I can't see the y being used in the code, and the x is overridden b...

14 giorni ago | 1

| accepted

Load more