photo

Matthias


Harvard University

Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • First Answer
  • Thankful Level 3
  • Solver

View badges

Feeds

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

mer än 7 år 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...

ungefär 8 år 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...

ungefär 8 år ago | 5 answers | 1

5

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

mer än 8 år 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...

mer än 8 år 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...

nästan 9 år 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...

mer än 9 år ago | 1 answer | 0

1

answer

Solved


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

mer än 9 år 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 ...

nästan 10 år 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 ...

nästan 10 år ago | 1 answer | 3

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

nästan 10 år ago | 0 answers | 1

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

ungefär 10 år ago | 1

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

ungefär 10 år ago | 2 answers | 2

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

mer än 10 år ago | 0 answers | 0

0

answers

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

mer än 10 år 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...

mer än 10 år 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. ...

mer än 10 år 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...

nästan 11 år 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 ...

nästan 11 år ago | 3 answers | 2

3

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

ungefär 11 år ago | 4 answers | 4

4

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

ungefär 11 år 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...

ungefär 11 år 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...

ungefär 11 år 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...

ungefär 11 år 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 ...

ungefär 11 år ago

Solved


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

ungefär 11 år 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:...

ungefär 11 år 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...

ungefär 11 år 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...

mer än 11 år ago | 3 answers | 1

3

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

nästan 12 år ago | 1 answer | 0

1

answer

Load more