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년 초과 전 | 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년 전 | 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
대략 11년 전
문제를 풀었습니다
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년 전
질문
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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 1 | 0