photo

Matthias


Harvard University

Aktiv seit 2012

Followers: 0   Following: 0

Nachricht

Statistik

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

Abzeichen anzeigen

Feeds

Anzeigen nach

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

mehr als 7 Jahre vor | 0

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

etwa 8 Jahre vor | 0

Frage


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

etwa 8 Jahre vor | 5 Antworten | 1

5

Antworten

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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

mehr als 9 Jahre vor

Frage


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

fast 10 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 10 Jahre vor | 1 Antwort | 3

1

Antwort

Frage


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

fast 10 Jahre vor | 0 Antworten | 1

0

Antworten

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

etwa 10 Jahre vor | 1

Frage


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

etwa 10 Jahre vor | 2 Antworten | 2

2

Antworten

Frage


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

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 10 Jahre vor | 0

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 11 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 11 Jahre vor | 3 Antworten | 2

3

Antworten

Frage


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

etwa 11 Jahre vor | 4 Antworten | 4

4

Antworten

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Frage


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

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 11 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden