Community Profile

# Thomas Otterstaetter

### University of Stuttgart

32 total contributions since 2010

#### Thomas Otterstaetter's Badges

Contributions in
View by

Submitted

LineManipulator
Allows mouse-based manipulation of the data of a line object.

4 years ago | 4 downloads |

Responded

Re: moving plot
hmmm, if I get it right you could tweak a tool of mine (hooray! maybe it is usefull to someone) to get that behaviour: http://w...

4 years ago | 3583 views

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

4 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 years ago

Responded

Re: number format in graph
You would have to add a callback-function to the figures zoom, like set(zoom(figHandle),'ActionPostCallback',@(~,~) set(axHandl...

4 years ago | 46533 views

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

4 years ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

4 years ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

4 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

4 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Responded

Re: copy paste from uitable is incomplete
Hi Yair, thanks for the advice(s). Both suggestions seem to work. Waiting for an unknown amount of time is not the ideal solut...

4 years ago | 5418 views

Responded

Re: copy paste from uitable is incomplete
Hi David, sadly still no solution from my side. Thomas

4 years ago | 5418 views

Posted

Resetting a bar chart overlaid with a plot in a GUI
Morning ...I went home yesterday therefore this answer took a little bit longer. The additional lines I suggested are not defin...

6 years ago | 3671 views

Posted

Resetting a bar chart overlaid with a plot in a GUI
this answer is a little bit in a hurry (like the first one). That's right, the callback of the pusbutton does not know h2... Ad...

6 years ago | 3671 views

Posted

Resetting a bar chart overlaid with a plot in a GUI
read your original post again and properly a little bit more thoroughly. You are really using two axes? One axes that contains ...

6 years ago | 3671 views

Posted

Resetting a bar chart overlaid with a plot in a GUI
hmm, if I understand your problem correctly you could use: delete(get(handles.axes1,'children')) Thomas

6 years ago | 3671 views

Responded

Re: slow drawing on figure with many GUI elements
I just stumbled over something like a solution. For debugging purposes my gui has a button which assigns the handles structure ...

6 years ago | 4535 views

Responded

Re: slow drawing on figure with many GUI elements
Hello everyone, as I am experiencing similar problems I will try to rise that topic to the top again. I have a gui that contai...

6 years ago | 4535 views

Posted

delete handle class object
Hi everybody, I am having trouble deleting an object that is derived from the handle class. The object 'A' holds handles to se...

6 years ago | 4215 views

Responded

Re: How to delete some elements/rows in a vetor/matrix?
A=rand(100,3); B=A(A(:,2)>0.4 & A(:,3)>0.5 , :) ...and this can be continued with other columns or with 'or'...you might even...

6 years ago | 24736 views

Posted

iterative or recursive indexing
Hello everybody, I am looking for a way to speed up a rather simple while-loop. I have some kind of an index-vector V with siz...

6 years ago | 1715 views

Responded

Re: Parallel Computing Toolbox spmd and classes
Well, I think I am going to see if LOADOBJ/SAVEOBJ can be of any use. Regarding the parallel computing I will tweak the data exc...

6 years ago | 6980 views

Responded

Re: Parallel Computing Toolbox spmd and classes
Sizes between serial and parallel runs are identical and not depending on PoolSize. The .mat files that store the resulting Rou...

6 years ago | 6980 views

Responded

Re: Parallel Computing Toolbox spmd and classes
SAVEOBJ and LOADOBJ are new to me....I'll have to see if I can make anything useful out of that. The same is true for 'Construct...

6 years ago | 6980 views

Responded

Re: Parallel Computing Toolbox spmd and classes
sorry for the long absence - my workday was over. I am using load and save for mat-files, no dedicated methods. The main-object...

6 years ago | 6980 views

Responded

Re: Parallel Computing Toolbox spmd and classes
Sadly more or less the same speed as 'parfor' and 'spmd' without 'drange'. But adding the 'distributed' to the declaration of 'R...

6 years ago | 6980 views

Responded

Re: Parallel Computing Toolbox spmd and classes
Probably a valid point - sadly the handle objects are very useful for my data structure. It models a road network (nodes, links ...

6 years ago | 6980 views

Responded

Re: Parallel Computing Toolbox spmd and classes
2 things I forgot to add: -load/save of the whole data structure takes a few seconds -during the time Matlab finishes up the pa...

6 years ago | 6980 views

Responded

Re: Parallel Computing Toolbox spmd and classes
Hello Edric, thanks for your reply. I suspected that the handles objects might be troublesome. Because of that I changed the ...

6 years ago | 6980 views