回答済み
GUI, workspace
You could use |uiputfile| to select a file name to be created: doc uiputfile (If you want to get a file to load, use |ui...

14年弱 前 | 0

回答済み
array of images
Where exactly are you stuck? You've been posting enough questions here that I would assume you know how to write a loop. T...

14年弱 前 | 0

回答済み
loadlibrary and 64bit shared lib (DLL) on 64bit windows 7
It definitely doesn't like |mxArray|, so I'd say that you are including files in the wrong order. In the source files that show...

14年弱 前 | 1

| 採用済み

回答済み
Selecting values in an array
Logical indexing: xfiltered = x( x(:,1)==1 & x(:,2)>0, : ); I'm sure you can work out the variations on this. You can...

14年弱 前 | 1

回答済み
car license plate character recognition using neural network
I have not done plate recognition, and have only dabbled in neural networks, but I would expect that you need to translate your ...

14年弱 前 | 0

| 採用済み

回答済み
Finding 3 consecutive zero values row by row in an image.
Simplest (and rather inefficient) approach: for y = 1:size(img,1) blacks = 0; for x = 1:size(img,2) if all...

14年弱 前 | 0

回答済み
Store a double value into the cell array element
You'd need to use |eval|, but there's almost always a good reason not to do what you're trying to do.

14年弱 前 | 0

| 採用済み

回答済み
Disabling the case-sensitive mismatch error message
How could it be a warning? It's an error. Case-sensitivity is a feature of the language. You can't change the language. If...

14年弱 前 | 0

回答済み
For cycle to create multiple matrixes
This conceptually is like turning each row of the 35x35 identity into a 5x7 matrix. H = reshape(eye(35), 5, 7, 35); But ...

14年弱 前 | 1

回答済み
interpolate NaNs only if less than 4 consecutive NaNs
Okay, here's a fun way to find the long sequences. You could interpolate the entire lot and then set the long sequences back to...

14年弱 前 | 2

回答済み
Matlab Compiling - With deploytool / mcc
Does the target machine have the relevant Visual C++ Redistributables installed? This kind of crash-without-helpful-message is ...

14年弱 前 | 0

回答済み
this script doesn't seem to work properly any more
A totally random aside... This script is also slow? If you're repeating that switch statement thousands of times, why not pu...

14年弱 前 | 0

回答済み
multiplication of equevalant element of three cells by a predetermined vector
I seem to give a lot of answers that use |arrayfun|, and I don't want to be cliché, but it seems you need it here to pull out th...

14年弱 前 | 0

回答済み
dismember or intersect
You can still use ismember on the 3rd column: memb3 = ismember(a(:,3),b(:,3)); And a dirty little number on the other tw...

14年弱 前 | 0

回答済み
How to add a function to MATLAB root
Just keep it in your own 'handy stuff' directory or whatever, and add that to MatLab's path. File -> Set Path... Don't f...

14年弱 前 | 0

| 採用済み

回答済み
Ignoring NaN in a mean only if there is a singal NaN
Compute the mean with |nanmean| as usual, and then check for multiple NaNs: You can count the NaN values in an array like so:...

14年弱 前 | 0

回答済み
Can I use stringmatch, if I am looking for a match at the end of a string??
You should use regular expressions for this. doc regexp They are far more powerful than simple string matching, but you ...

14年弱 前 | 1

| 採用済み

回答済み
fill empty spaces in a cell array
Here's a clunky solution: function [A] = FillEmptyRows( A ) while 1 emptyCells = cellfun(@(x) isempty...

14年弱 前 | 0

| 採用済み

回答済み
Can I use Simulink fixed-point advisor to translate C code ( with float variable ) to fixed-point code ( only integers ) ??
Are you supposed to use MatLab for this? Fixed-point in C is not hard. You just exploit bit-shifting, which is built into the ...

14年弱 前 | 0

回答済み
Array weirdness
The call to |*length*| returns the largest dimension, which in your case is 17. So the first time, you write 1 row, then you wr...

14年弱 前 | 0

| 採用済み

回答済み
vectorizing four nested for loops
Try this: [i,j] = ndgrid(1:n*n); r = reshape(a(i)+a(j), [n n n n]);

14年弱 前 | 4

| 採用済み

回答済み
Saving multiple figures all at once
You'll want to do it in a loop. First, make sure you have stored the handles to your figures in a vector. figures = []; ...

14年弱 前 | 5

回答済み
how to store and access the array?
There's lots of ways to do this. Here is some useful stuff to read: Exporting to text data files: <http://www.mathworks.c...

14年弱 前 | 0

| 採用済み

回答済み
UDP Loopback Test in Real-Time Windows Target
How much is the delay? Typical round-trip for a UDP packet on the loopback is around 100 microseconds (for a ping and reply). ...

14年弱 前 | 0

回答済み
RLC circuit impulse response
Are you expecting |y| to be a vector, or a matrix? When you assign to |y(k+2)|, it needs to be a single value. But on the ri...

14年弱 前 | 0

回答済み
Neural Network help
You are 'testing' your net with exactly the same data that trained it. Of course you will get your targets back out. You need ...

14年弱 前 | 0

回答済み
Subscript indices must either be real positive integers or logicals
How can |fourier| be a function when you just defined it as a persistent variable in your |mycon| function? I suspect you may b...

14年弱 前 | 1

回答済み
math Legendre problem
That's almost right, but wherever you had |p(n)| etc, you shouldn't adjust |n|. You should only have subtracted 1 from the inst...

14年弱 前 | 0

| 採用済み

回答済み
I want to plot X & Y data for different Time step.
How about this: hold off; scatter( x1, y1, 'bo' ); % Blue circles hold on; scatter( x2, y2, 'gv' ); % Green tria...

14年弱 前 | 0

| 採用済み

回答済み
[SOLVED] compile mex with blas under windows
Did you not try: mex -v sparseQPsetup.c -lmwblas

14年弱 前 | 0

さらに読み込む