Feeds
提问
Problem with parfor loop due to some variable that cannot be classified.
I am unable to specify a parfor loop that works due to some variable that matlab cannot classify I tried to implement the follo...
1 year 前 | 1 个回答 | 0
1
个回答提问
Why doesn't Matlab call the overloaded subsref method?
Hi, I have a class in which I have overloaded both subsref (and subasgn) for some constructed object obj, I am able to sucessf...
2 years 前 | 0 个回答 | 0
0
个回答提问
manipulation of yearly, quarterly, monthly, weekly and daily dates using datenum
I would like to create a function that translates some specific date formats into date numbers and a function that reverses the...
2 years 前 | 1 个回答 | 0
1
个回答提问
Number of unique coordinates in an array
Dear all, I am trying to solve the following problem as fast as possible. Consider a square matrix with coordinates (i,j) where...
2 years 前 | 1 个回答 | 0
1
个回答提问
Fastest way to compute a multiplication of matrices times a sequence of kronecker products
I would like to compute the following operation o=f*(kron(a0,a1,a1,a1,a1)+kron(a1,a0,a1,a1,a1)+kron(a1,a1,a0,a1,a1)+kron(a1,a1,...
2 years 前 | 1 个回答 | 0
1
个回答提问
Why is this sparse multiplication failing?
Hi, Why does Matlab run out of memory on the multiplication of these two sparse matrices? The first one is of size 1724987...
6 years 前 | 1 个回答 | 0
1
个回答已回答
Is it possible to write several statements into an anonymous function?
I asked this question 5 years ago and it is still active today. I had almost forgotten that I did ask such a question, which led...
Is it possible to write several statements into an anonymous function?
I asked this question 5 years ago and it is still active today. I had almost forgotten that I did ask such a question, which led...
7 years 前 | 2
提问
From a string to function handle of a function handle
Hi, Is it possible to transform a string into a function handle calling another function handle? More specifically, consid...
7 years 前 | 2 个回答 | 0
2
个回答提问
anonymous function for if-else statements
Hi, Is it possible to write an anonymous function or a function handle that replicates the behavior of if-else statements? ...
7 years 前 | 4 个回答 | 0
4
个回答提问
How do I create a legend that is "disconnected" from the plotted items
Dear all, I have the following problem. I would like to plot various items that can take two colors, say red and blue. The colo...
7 years 前 | 0 个回答 | 0
0
个回答提问
condition in regular expression
Hi, I would like to match a regular expression, which can take two forms: aaa1(-1)&abcd or bbb2&aefdg More ...
8 years 前 | 0 个回答 | 0
0
个回答提问
Is it advisable to have a handle object inside a handle object?
Hi, I would like to create two classes, say, class1 and class2 both of which inherit from the handle class. Therefore I have ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Retrieving/storing the state of a handle
Hi, Is it possible to retrieve the old state of a modified handle object? more concretely, suppose a have a class such as ...
8 years 前 | 1 个回答 | 0
1
个回答提问
why is 1+ nan*1i = NaN + NaNi ?
Dear all, I am trying to figure out how to store some information using complex numbers and retrieving that information later...
9 years 前 | 2 个回答 | 1
2
个回答提问
custom-defined syntax highlighting for non-matlab files
Hi, Many text editors allow users to define their own list of keywords for files with unknown extensions. This list is then p...
9 years 前 | 1 个回答 | 0
1
个回答提问
Is it possible to programmatically add a file extension for syntax highlighting?
Hi, Is it possible to programmatically add a file extension for syntax highlighting? Just for the sake of argument, suppo...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to get rid of the hanging popup display in debug mode?
Hi all, One of the frustrations I have sometimes had with Matlab is the fact that while it is convenient to be able to see th...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to capture an optional expression using regular expressions?
Dear all, I would like to use regular expressions to capture and transform expressions of the form name or name...
9 years 前 | 2 个回答 | 0
2
个回答提问
How to capture tokens using regular expressions?
Dear all, I would like to capture two parts of a sequence of strings. I would like to call the first part "main" and the second...
9 years 前 | 2 个回答 | 0
2
个回答提问
Help for inherited method
Hi, I have the following problem. I have two classes, say second_class and first_class, where second_class<first_class i.e. s...
9 years 前 | 1 个回答 | 0
1
个回答提问
Getting help for a function from another function
Dear all, suppose I want to get help from a function. I can simply type h=help('myfunction). But then suppose that I have ano...
9 years 前 | 3 个回答 | 1
3
个回答提问
function with unknown number of outputs within parfor
Dear all, I am facing this apparently simple problem: I am trying to write a parfor loop that containts a function call with ...
9 years 前 | 2 个回答 | 0
2
个回答提问
How to define new methods on existing matlab classes?
Hi, I would like to define, for my own use, new methods for some matlab classes such as cell, struct, among others. for ins...
9 years 前 | 3 个回答 | 0
3
个回答提问
Can this be accelerated?
Hi, The following computations are very expensive for large matrices A, B and the coefficient q. C=reshape(A,a1*q,b1)*B;...
9 years 前 | 1 个回答 | 0
1
个回答提问
How large can a sparse matrix be?
Hi, I thought I could exploit the fact that a matrix is sparse to build a big matrix. I would like to build a sparse matrix o...
9 years 前 | 1 个回答 | 1
1
个回答提问
str2func and anonymous functions
Dear all, I posed a problem earlier and it was not answered. I guess I did not pose the problem well. I try again as my unde...
9 years 前 | 1 个回答 | 0
1
个回答提问
Strange behavior of anonymous functions
Dear all, I have two problems related to anonymous functions: 1-) I create an anonymous function taking several inputs ins...
9 years 前 | 1 个回答 | 0
1
个回答提问
problem with overloaded plot in 2014b
Dear all, I am facing a problem I have not seen before. I have overloaded the plot function for a certain class. Up until 201...
10 years 前 | 0 个回答 | 0
0
个回答提问
Help on regular expressions
Hi all, I would like to extract parts of a string. In particular, I would like to extract all elements between two limits LI...
10 years 前 | 1 个回答 | 0
1
个回答提问
workspace of anonymized/memoized subfunctions and nested functions
Dear all, Is there any way to have control over the variables entering the workspace of an anonymous function? I have been ex...
10 years 前 | 1 个回答 | 0