Community Profile

photo

Matthias


Harvard University

32 total contributions since 2012

Contact

Matthias's Badges

  • First Answer
  • Thankful Level 2
  • Solver

View details...

Contributions in
View by

Answered
Building mym on 64-bit Windows 7
Thanks. I got it to work, but had to remove the COMPFLAGS="$COMPFLAGS /MT" So the overall command: mex -v -I"C:\Pr...

1 year ago | 0

Answered
Is there a way (command line switch) to prevent execution of startup.m when starting a new Matlab instance?
Thanks for your answers! What I meant with "self-contained" is that the suppression of startup.m-execution would only apply to i...

1 year ago | 0

Question


Is there a way (command line switch) to prevent execution of startup.m when starting a new Matlab instance?
Is there a way (command line switch) to prevent execution of startup.m when starting a new Matlab instance? How about the same f...

2 years ago | 3 answers | 0

3

answers

Question


PID controller design: How to plot control signal?
I'm using the Control System Toolbox in Matlab. I have a plant P (an object of class idproc) and a PID controller C (class pi...

2 years ago | 1 answer | 0

1

answer

Question


Which workspace do Live Scripts use?
Hi, I'm just starting to use Live Scripts, but I don't understand how they interact with the base workspace of Matlab. I c...

2 years ago | 0 answers | 0

0

answers

Question


imref2d axis direction
Hello, I'm trying to use imref2d to map an image onto world coordinates. Be default, imref2d seems to consider the top-lef...

2 years ago | 1 answer | 0

1

answer

Question


Why is tab completion broken for my struct?
Hi, I wrote a class with a struct as one of the properties. For that particular struct, tab completion does not work, i.e. wh...

3 years ago | 1 answer | 0

1

answer

Solved


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

3 years ago

Question


Why is batch() so slow?
I'm trying to use batch() to load some data from a slow disk in the background, but it is extremely slow. See code example with ...

3 years ago | 1 answer | 1

1

answer

Question


Parfeval memory leak? Clear memory on parallel workers?
Hi, I have some sort of memory leak when using parfeval. I have a function that starts a number of parfeval-computations ...

3 years ago | 1 answer | 2

1

answer

Question


Code organziation during exploratory data analysis?
Hello, I'm interested in how you organize your code for exploratory/preliminary work with complex datasets. Imagine a case wh...

3 years ago | 0 answers | 0

0

answers

Answered
Memory management when using GPU in parfor-loop?
I have now partially solved the problem by using spmd instead of parfor. This way, I can manually slice my variables. However, t...

4 years ago | 0

Question


Memory management when using GPU in parfor-loop?
Hi, I have a machine with four CPU-cores and one GPU. In my code, there's a parfor loop which performs computations on GPUarr...

4 years ago | 2 answers | 1

2

answers

Question


DAQ: Output of sample clock to PFI terminal does not work.
I have a National Instruments 6221 board and am using the session-based interface of the Data Acquisition Toolbox. I would li...

4 years ago | 0 answers | 0

0

answers

Answered
Get data from callback without global variable?
Any ideas? Are globals the way to go here?

4 years ago | 0

Question


Get data from callback without global variable?
Hi, I want to continuously acquire data in the background using the Data Acquisition Toolbox as described <http://www.mathwor...

4 years ago | 1 answer | 0

1

answer

Question


Re-install the Java JRE that ships with Matlab?
When I recently updated Java on my PC, the Java-installer asked me if I want to un-install old and "unsecure" versions of Java. ...

4 years ago | 0 answers | 0

0

answers

Question


Force timeout for save()?
Hi, I'm using save() to save a workspace variable on a network share. Sometimes, the share is temporarily unavailable. How ca...

4 years ago | 1 answer | 1

1

answer

Question


How to "dbup" to ORIGINAL error after try/catch and rethrow?
Hi, When I debug my code, I use "dbstop if error" to inspect the workspace of the function that created an error. Now, if ...

4 years ago | 2 answers | 2

2

answers

Question


Can I have multiple rows of editor tabs to show all my open files?
Hi, I use the editor tab bar on the top of my editor window to navigate the files that I'm currently working on. I always hav...

4 years ago | 2 answers | 3

2

answers

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

5 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

5 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

5 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

5 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

5 years ago

Solved


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

5 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:...

5 years ago

Question


Get data from DAQ background session
Hi! I am recording analog data using the session-based interface of the data acquisition toolbox as described in the document...

5 years ago | 0 answers | 0

0

answers

Question


set(0, 'DefaultAxesBox', 'off') is not honored by plot()!?
Hello, I am trying to set up Matlab such that plots look presentable by default. For this, I want to switch off the mirror...

5 years ago | 2 answers | 1

2

answers

Question


Cannot add digital I/O channels although device supports it...
Hi, I'm using a NiDAQ PCI 6722. This device supports digital I/O and I verified this using NI software. However, when I st...

5 years ago | 1 answer | 0

1

answer

Load more