Feeds
已回答
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...
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...
7 years 前 | 0
已回答
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...
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...
8 years 前 | 0
提问
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...
8 years 前 | 5 个回答 | 1
5
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 0 个回答 | 0
0
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 1
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 3
1
个回答提问
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...
10 years 前 | 0 个回答 | 1
0
个回答已回答
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...
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...
10 years 前 | 1
提问
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...
10 years 前 | 2 个回答 | 2
2
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答已回答
Get data from callback without global variable?
Any ideas? Are globals the way to go here?
Get data from callback without global variable?
Any ideas? Are globals the way to go here?
10 years 前 | 0
提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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. ...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
11 years 前 | 1 个回答 | 1
1
个回答提问
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 ...
11 years 前 | 3 个回答 | 2
3
个回答提问
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...
11 years 前 | 4 个回答 | 4
4
个回答已解决
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...
11 years 前
已解决
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...
11 years 前
已解决
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...
11 years 前
已解决
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...
11 years 前
已解决
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 ...
11 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
11 years 前
已解决
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:...
11 years 前
提问
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...
11 years 前 | 0 个回答 | 0
0
个回答提问
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...
11 years 前 | 3 个回答 | 1
3
个回答提问
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...
12 years 前 | 1 个回答 | 0