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년 초과 전 | 답변 수: 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...
7년 초과 전 | 답변 수: 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...
9년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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