Domanda


How to index a cell vector of strings?
I have a vector of cells, each one is 'x' or 'y'. How can I index them, similar to the "find" function? Thank you.

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


x-axis on plot has cushion to left and right (i.e. plot doesn't start at beginning, and ends early with remaining space in the chart
Here is my code: startDate=datenum(num2str(tday(1)),'yyyymmdd'); endDate=datenum(num2str(tday(end)),'yyyymmdd'); cumr...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


Trouble with datetick x-axis...always starts at 1/1/00
Here is my code: cumret=cumprod(1+combinedRet)-1; plot(cumret) startDate=tday(1); endDate=tday(end); x=linspace...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


Can you draw the integral symbol with upper/lower limits in MuPAD?
In other words, I want the result to be the problem, not the answer.

oltre 9 anni fa | 0 risposte | 0

0

risposte

Risposto
vertcat on a cell array and a double array
many thanks!

quasi 10 anni fa | 0

Domanda


vertcat on a cell array and a double array
I have a 1x601 cell array containing text and a 1019x601 double matrix. I am trying to merge the arrays using vertcat but I get ...

quasi 10 anni fa | 2 risposte | 0

2

risposte

Risposto
datestr producing incorrect dates
Thank you. How can I prevent the dates from being imported as excel serial numbers (I understand I can use x2mdate if this is no...

quasi 10 anni fa | 0

Domanda


datestr producing incorrect dates
Hello everyone, I am testing some historical data, and and the raw dates import as serialized dates. So when I convert these ...

quasi 10 anni fa | 2 risposte | 0

2

risposte

Risposto
How to change default path on startup for Mac?
I tried this, I had to create a startup.m file because I had none to begin with. But the directory on startup hasn't changed.

circa 10 anni fa | 0

Domanda


How to change default path on startup for Mac?
I have the newest version. I have played around with 'userpath' but no matter what I do, every time I open MATLAB it defaults to...

circa 10 anni fa | 3 risposte | 0

3

risposte