Community Profile

photo

Patrick Mboma


Last seen: 10 mesi fa Attivo dal 2012

Statistiche

  • First Answer
  • Thankful Level 4

Visualizza badge

Content Feed

Visto da

Domanda


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...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

circa un anno fa | 0 risposte | 0

0

risposte

Domanda


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...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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,...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 6 anni fa | 1 risposta | 0

1

risposta

Risposto
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...

oltre 6 anni fa | 2

Domanda


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...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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? ...

oltre 6 anni fa | 4 risposte | 0

4

risposte

Domanda


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...

quasi 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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 ...

circa 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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 ...

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 8 anni fa | 2 risposte | 1

2

risposte

Domanda


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...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 8 anni fa | 3 risposte | 1

3

risposte

Domanda


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 ...

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 8 anni fa | 3 risposte | 0

3

risposte

Domanda


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;...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 8 anni fa | 1 risposta | 1

1

risposta

Domanda


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...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Carica altro