Community Profile

photo

Geoff Hayes


Last seen: 1일 전 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

배지보기

Content Feed

보기 기준

답변 있음
Error when plot loaded .mat file in app designer
Aron - I suggest you use the MATLAB debugger to step through the code and see what the variables w_grad = load('w_gradiens_lotk...

약 1달 전 | 0

| 수락됨

답변 있음
How do i call the recorded audio into another push button and compress it in GUI.
Muhammad - you can either extract the data from the plot (from handles.axes1) or just save the recorded data to the handles obje...

약 2달 전 | 1

| 수락됨

답변 있음
How can I use the iteration to store variables? It gives error Subscript indices must either be real positive integers or logicals.
Shivanshu - presumably the error is with for i=1:itt options=odeset('RelTol',1e-3,'AbsTol',1e-6); [t,x]=ode23(@...

약 2달 전 | 0

| 수락됨

답변 있음
How to make a sum series using a for loop
Petch - in your code, you are assigning the kth iteration value (plus x) to s rather than summing all values. Try instead s = x...

약 2달 전 | 0

| 수락됨

답변 있음
creating a .txt file with values that the user inputs in Matlab app designer
Joseph - if your app has a text field that allows the user to enter the name of the file to save to, then you could do something...

약 2달 전 | 0

| 수락됨

답변 있음
Cutting up image into smaller blocks - how to name resulting blocks according to grid pattern?
David - ca seems to represent your cell array of blocks. The code you have (already) to write the blocks is for K = 1 : numel(c...

약 2달 전 | 1

답변 있음
Unable to image files automatically with different file names
Warid - the code error message Error in ngui>pushbutton2_Callback (line 167) imwrite(seg, filename); does not correspond exa...

약 2달 전 | 0

| 수락됨

답변 있음
CAN'T USE THE FUNCTION watershed in matlab for image segmentation??
Arun - is watershed a function or a script? In this case, I suspect that it is a script and does ot have a function signature. W...

2달 전 | 0

| 수락됨

답변 있음
i am getting this error "Unable to resolve the name handles.SignalParameterDropDown"..plzzz!!!Help.
Abhishek - there is no handles variable in your RunButtonPressed function. Perhaps you mean to use app instead of handles?

2달 전 | 0

답변 있음
Matlab bouncing ball in box
Dakota - your axes limits are set as set(gca, 'XLim',[-10 10], 'YLim', [-10 10]); but the limits you set in code for the box a...

2달 전 | 2

답변 있음
Loop index is changed on a for loop
Andrea - when you populate a row in a table, you reset the start and end times end_time=NaT; start_time=NaT; ...

2달 전 | 0

답변 있음
MATLAB email body include text and a table
Fragkiskos - from sendmail, The sendmail function does not support HTML-formatted messages. However, you can send HTML files as...

3달 전 | 1

| 수락됨

답변 있음
How to dynamically change a sine wave sound frequency ?
Pierre - I don't think you can dynamically change the frequency even if using the audioplayer. I think that you could use one pl...

3달 전 | 1

| 수락됨

답변 있음
How to create a minesweeper board using a matrix
Aaron - note the top left corner code grid(r, c) == length(find(grid(r:r+1, c:c+1), 9)) Here you are comparing with == and sh...

3달 전 | 0

| 수락됨

답변 있음
How to read units from a column in a table in Matlab?
Jason - T.Properties.VariableUnits{2} will get you the units for the second column. T.Properties.VariableUnits{2} = 'NewUnit...

3달 전 | 0

답변 있음
Dynamically adding callback functionalities to uimenu items
Shreedhar - in your loop, the variable tmp is always being overwritten for i = 1 : maxLimit tmp = uimenu(app.Openrecently...

3달 전 | 0

| 수락됨

답변 있음
Tie to frequency using F
Karl - are you reading the correct columns? For example, on my Mac, the time array time = xlsread('Lab-2ciii.xlsx','A1:A300'); ...

3달 전 | 0

| 수락됨

답변 있음
How to hide a uitab with RadioButtonGroup?
Why not just hide or show the tab using the Visible property? For example, you could do app.TabGroup = uitabgroup(app.UIFigure)...

3달 전 | 0

답변 있음
How to convert this 'out_17-May-2021.xlsx' into 'out_20210517.xlsx'?
Joanna - perhaps try using datestr(now,'yyyymmdd') instead/

3달 전 | 0

| 수락됨

답변 있음
Displaying an image on UIAxes in App Designer that doesn't appear
Ahmed - I suspect the problem is with your variable for image1. It is declared as a global variable in ApplyNoiseButtonPushed fu...

3달 전 | 1

| 수락됨

답변 있음
Making heading data continuous (i.e. instead of 359 --> 0 degrees make it 359 --> 360 degrees)
Amritz - perhaps a polarplot might be useful: polarplot(headingData*pi/180.0, (A(:, 1)-t0)/1000);

3달 전 | 0

답변 있음
How do I change the axis things get plotted on?
Nick - you need to specify the axes as described at create line on axes. In your case, you might want to save the axes handle to...

3달 전 | 0

| 수락됨

답변 있음
Make a function loop
Eris - if you want to keep rolling until you have a Yatzhee, then you probably want to use a while loop. % set the roll count ...

3달 전 | 0

답변 있음
blackjack adding another number to a vector in a while loop & input words for a if loop
Liam - since you are asking the user to enter in the command to "stand" or "hit", then you should be using the strcmpi to compar...

3달 전 | 0

| 수락됨

답변 있음
while creating figure based app in MATLAB, how to give callback to another matlab code?
Ashwini - yes, you should be able to use your other MATLAB code depending upon how it is written. You will want it to be a funct...

3달 전 | 0

답변 있음
User selected points from a plot
Kyle - from https://www.mathworks.com/matlabcentral/answers/11439-selecting-data-from-a-plot-in-a-gui, there is an answer that s...

4달 전 | 0

| 수락됨

답변 있음
How do I specify a variable from a table that uses words and not numerical values
Elias - try using strcmp or the case-insensitive strcmpi.

4달 전 | 0

답변 있음
matlab Invalid expression error
Jakub - try adding a semi-colon after title(['t = ', num2str(t)]); so that it is distinct from the axis square; Or write e...

4달 전 | 0

답변 있음
Preserve Name of Indexed Variable for columns when creating a Table
TS - you can set the variable names when you create the table T = table(Time(1:50,:),Data(1:50,:),Etc(1:50,:), 'VariableNames',...

4달 전 | 0

답변 있음
not enough input arguments error
sudheer - if you are calling this function from the command line (or another piece of code) as simply trans then you will get ...

4달 전 | 0

더로드