Community Profile

photo

Geoff Hayes


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

表示方法

回答済み
How to save a value from an array if a condition is true
@Tejashree Pawar - do you need to use a loop? For example, if your X and Y arrays are the same dimensions, then (for example) if...

6日 前 | 1

回答済み
Trying to delete the previous data/line from a next button using matlab Gui
@Franck paulin Ludovig pehn Mayo - If you only want one patch object to appear, then you will need to delete the old one before ...

10日 前 | 1

| 採用済み

回答済み
Constants not recognized in integral
@Florian Spicher - rather than using a script, try including the above code in a function instead (see functions vs scripts fun...

11日 前 | 0

回答済み
Hello everyone, In the following code, I am trying to record V values in the matrix V_mat not just the last value. Please help me how can I do it.
@Mohammad Dawoodzada - initialize the matrix outside of your loops (rather than on each iteration of the inner loop) and keep tr...

15日 前 | 0

| 採用済み

回答済み
How to nest callback into while loop?
@Sergey Lopatnikov - the _'event_data' in callback function is not recognized_ error message makes sense since you are trying to...

15日 前 | 1

| 採用済み

回答済み
Understand a command line to create a matrix
@Mark Sc - this is an interesting piece of code. Given that >> x = (1:npoint) x = 1 2 3 4 5 and tha...

20日 前 | 0

| 採用済み

回答済み
How to turn a matrix into a vector without using for loop !
@daniel adams - try using reshape.

20日 前 | 1

| 採用済み

回答済み
gui executing input parameter
@AStro you may need to post more code as it isn't clear what you might do with the data you read. But whatever it is, you can sa...

20日 前 | 1

| 採用済み

回答済み
The while loop for my taylor expansion will not check the condition for each iteration.
@Zachary Nies - I don't think your MAXerror ever gets below the condition. When I run your code, the minimum value assigned to i...

22日 前 | 0

回答済み
How can I call a directory that has a partially variable name (variable in the middle), that precedes a variable filename?
@nailah oliver - consider using dir to get a list of files that match your pattern. The result will be an array of structs that ...

22日 前 | 0

| 採用済み

回答済み
How do I read out a specific string/value out of one excel cell
@Benedikt Friedl - take the cell data which is the comma-separated string and then use split to split the string at the commas: ...

23日 前 | 0

| 採用済み

回答済み
How to handle radiobutton in radiobutton group panel...
Tyann - I think the assignments in each radio button callback is incorrect pilih = 3; pilih = handles.pilih; guidata(hObject...

27日 前 | 0

回答済み
Put structure data into GUIDE table
Douglas - perhaps you need to convert the struct to a table before setting the uitable. Try using struct2table to see if that he...

29日 前 | 0

| 採用済み

回答済み
Error-check spacing of a vector
Zheng - you are trying to compare two floating point numbers using (in this case) the inequality operand. When comparing two flo...

29日 前 | 0

| 採用済み

回答済み
Error : In an assignment A(:) = B, the number of elements in A and B must be the same, used in homework equation. Please help me figure out how to solve.
Kristin - you may be overconplicating it. You say that My thought is that m = is a fine vector, because it isn't a built-in func...

29日 前 | 0

| 採用済み

回答済み
given a circle plot all possible tangents
Sparsh - the code from https://www.mathworks.com/matlabcentral/answers/258780-how-to-plot-tangent-line-from-specified-point-to-a...

29日 前 | 0

回答済み
How to create a MATLAB code for generating audio sine wave signal of frequency ranges from 1Hz to 15kHz and plot it on real time.
Zafar - see the relevant parts of the noisy signal example on how to generate a sine wave with a particular frequency. You will ...

30日 前 | 0

回答済み
Euler's method
Paul (Adam?) - I think all that you are missing is in your assignment y_values(:,i1)= y_values(i1) + dt * myode(t_values(i1),y_...

約1ヶ月 前 | 0

| 採用済み

回答済み
is it possible to know if an alert dialog box has opened in app designer app?(testing purposes)
Michaela - if your code launches the alert dialog, then you should be able to know that it has launched and so can "skip the ite...

約1ヶ月 前 | 0

回答済み
Possible error with dot product
William - from dot, this function returns the scalar dot product of the two input vectors. So in your case, the dot(xa+ya,xb+y...

約1ヶ月 前 | 1

| 採用済み

回答済み
Push the left or right button in the mouse after generating a sound
mohadeseh - one way (and there may be another) is to create a figure and have that figure capture the mouse button events (assum...

約1ヶ月 前 | 0

回答済み
graph not displaying with UIaxes
Shu-An - when I run your code, I see the following error Error using ^ (line 51) Incorrect dimensions for raising a matrix t...

約1ヶ月 前 | 0

回答済み
Convert UIDatePicker to Default
shnrndll - try setting to the default value of NaT (from Value) as myDatePicker.Value = NaT; where myDatePicker is the uidatep...

約1ヶ月 前 | 0

| 採用済み

回答済み
Calling specific .wav files in nested subfolders
Brian - if you know the path to the file that you want to read, then include that path along with the filename in the code to re...

約1ヶ月 前 | 0

回答済み
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...

4ヶ月 前 | 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...

4ヶ月 前 | 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(@...

4ヶ月 前 | 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...

5ヶ月 前 | 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...

5ヶ月 前 | 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...

5ヶ月 前 | 1

もっと読み込む