Community Profile

photo

Daniel


TU München

Last seen: 2 years ago Active since 2013

Statistics

  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Question


Connection to Arduino lost after invoking scanI2CBus
I have an Arduino Mega 2560 connected via USB to my computer. Invoking the arduino function works fine and gets the connection t...

7 years ago | 0 answers | 0

0

answers

Question


How to run GUI in Matlab browser and script at the same time
I'm building a demonstrator for a project of mine. I have the background script working fine and the GUI also works by itself. ...

8 years ago | 1 answer | 0

1

answer

Question


Calling Matlab code from java app running on the internal jvm
I have to integrate some java code into my matlab code to do a few things that, as far as I know, matlab can't, like directly co...

8 years ago | 0 answers | 0

0

answers

Answered
How to paste nicely into Excel from MATLAB variable editor?
I don't know much about converting back Excel, but you might want to look into xlswrite. That command may do the trick for you.

9 years ago | 0

Answered
Selecting a random number with some probability
You can use rand, which gives uniform distribution and look if the number is below or above 0.6. if(0.6 <= rand()){ s...

9 years ago | 1

Question


Network access with Matlab
The problem I have is this: I have an adress (http://www.example.com/file) and I don't know how to access the file through Ma...

9 years ago | 1 answer | 0

1

answer

Question


Classdef compatible with Matlab Coder?
I have a package of multiple .m files and self defined classes that I want to compile into C Code as a stand alone application. ...

10 years ago | 1 answer | 0

1

answer

Question


How to select k out of n, k being normally distributed but not exceeding n
Hello everyone, I need to select k numbers out of n without generating doubles and k must not exceed n. I used to do it by...

10 years ago | 1 answer | 0

1

answer

Question


Parallel execution of function with global time limit possible?
I want to run an algorithm I made multiple times over a weekend. Since I have access to a workstation I want to use parallel com...

10 years ago | 1 answer | 0

1

answer

Question


Manual termination of function
I have a function that should either run a fixed number of cycles or until I tell it to end if I set -1 for the number of cycles...

10 years ago | 0 answers | 0

0

answers

Question


How to record excution time of a subfunction during runtime?
I have a function, that repeatedly calls a specific subfunction and I need to record the execution time of every call. How can I...

10 years ago | 1 answer | 0

1

answer

Question


replacing ascending numbers with continous numbers
Hello everybody, I am looking for a fast and efficient way to convert a vector of non continous ascending numbers to continou...

10 years ago | 1 answer | 0

1

answer

Question


Is it possible to change the upper end for the runtime variable of for loop during it's runtime?
The problem I have, is that I have a for-loop that iterates up to a certain number, but that number can increase during the runt...

10 years ago | 2 answers | 0

2

answers

Question


Does 'zeros' overwrite existing memory or alocate new memory and replace adress?
I have a matrix inside a handle class, that needs to be reset to zero from time to time. Does A=zeros(size(A)) replace t...

10 years ago | 1 answer | 0

1

answer

Question


How to comment out unused arguments in function header
I want to put arguments I am currently not using in certain function header into comments so that I can call the function withou...

10 years ago | 1 answer | 0

1

answer

Question


Variable with static type possible?
Is it possible to declare a variable with a static type, the way it is in Java? So that I can only asign an object of the correc...

10 years ago | 1 answer | 0

1

answer

Question


How to get row index of certain values in a vector
I am looking for a way to extract the row index of certain values from a vector. I tried with [ ~ , index ] = max(obj.Ga...

10 years ago | 2 answers | 0

2

answers

Question


Passing Matrix using call by reference
When looking for call-by-reference in matlab I found the Handle-Class. What I don't yet understand is how I use that class on a ...

10 years ago | 5 answers | 1

5

answers

Question


Converting a the result vector from logical indexing into a matrix possible or unnescesary?
Hello everyone, I need to extract rows of a matrix with a certain value in one column. At the moment I am using logical index...

10 years ago | 2 answers | 0

2

answers