Community Profile

Contact

Top 5% contributor

clc clears the screen before printing the reminder, but indeed, not a big deal, thanks!

0

Answered 5 months ago

After I run my startup script, it announces Academic License and then the >> prompt.

I know this is trivial in the grand scheme of things, but I'd love to remove the notification everytime I start matlab R15a that...

5 Answers

Asked 5 months ago

Wow, so simple, thanks very much indeed! For my purposes argmax = @(x)(find(x==max(x))) is perfect, since I only care a...

Answered 1 year ago

Thanks, that's good to know. But I'm a dinosaur who hates GUIs so do everything from the command line. I use the -nodesktop ...

Answered 2 years ago

I guess I've found my own workaround, which is incredibly unsatisfactory, but does seem to work. Convert the symbolic array t...

Well, I've tried defining B as a symbolic variable first, but that doesn't help, e.g. clear all ; syms x B ; f= @(input)B(i...

Answered 3 years ago

Thanks to Matt and Walter for responses. Walter's answer didn't work; according to the documentation, latex requires a symbol...

Beautiful, thanks. Matlab can be amazing at times.

5303 views

Responded 3 years ago

Thanks very much, Steve, vertcat solves a lot of problems for me. Of course, it only works provided your workspace doesn't have...

How can I convert a field of a struct whose elements are vectors to a matrix? For example dog = whos Each element of dog.size ...

Hi Bruno, I tried this and couldn't get it to work. Could you please give an example of usage? Thanks, Leo

4165 views

Responded 2 years ago

HI Steve Your suggestion was really helpful. Can you help with the next step? Following your suggestion I did the follow...

4107 views

Responded 5 years ago

Various posts have asked the question: why do I get the message "The current workspace already has too many variables; there...

4062 views

Art's code seemed to work for me only when I included just one argument and used the default value of the second argument delim....

4037 views

Hi, I have a struct with an indeterminate number of fields. For (very good) reasons I don't want to go into, I want to initia...

3 Answers

Asked 2 years ago

The first sentence on the help screen for restoredefaultpath is %RESTOREDEFAULTPATH Restores the MATLAB search path to inst...

2 Answers

1

I want to convert a bunch of simple symbolic expressions to latex e.g., syms x; B = @(x)B(x) latex(diff(B,x)) pro...

6 Answers

Asked 3 years ago

It's amazing that nobody has asked this before, but I'd like to insert the standard matlab plot markers---square, diamond, circl...

1 Answers

Asked 1 month ago

For example, I have an array that looks like myArray = [3] [] [3] [] I'd like to fill out the empty ele...

Asked 6 months ago

I run certain jobs either as standalone jobs, or in parallel, for example called by createTask. Is there some way to distingu...

Asked 8 months ago

This question seems closely related to thread 50624-testing-for-the-presence-of-a-substring-in-a-cell-array-of-strings but has a...

Asked 9 months ago

Hi, I'd like to construct an anonymous function that returns the argmax of two symbolic variables, e.g., syms x y symMax...

Asked 1 year ago

Hi everyone I'm having a very frustrating time trying to get constrating colormaps for multiline plots. For people with po...

Hi Could somebody tell me a way to convert the symbolic array [ x, y , z ] to the 3 element cell array Cell, where Cell{1} =...

is there a way to condition on whether or not I called matlab in 'nodesktop' mode? Thanks in advance!

I have an anonymous function f that has two indices, i and t. i runs from 1 to n; t runs from 1 to m != n. For example: ...

Hi, I have a matrix of colors, C = [.5142 0.7695 0.7258; 0.9300 0.8644 0.4048; 0.6929 0.6784 ...

Asked 7 months ago

Suppose I have 2 n x m arrays A and B and I get the maximum element of each column of A with [~,I] = max(A) Now I want...

I'd like to be able to use dir to list all files in the grandchildren directories of my cwd, as in dir('*/*') As far...

Load more