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...
2年弱 前 | 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年 前 | 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年 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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...
8年弱 前 | 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年 前 | 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年 前 | 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年以上 前 | 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年 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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...
10年弱 前 | 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...
10年弱 前 | 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年 前 | 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年 前 | 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年以上 前 | 1 件の回答 | 0