Question


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.

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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.

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0

Question


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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 0

Question


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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 0

Question


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

10 years ago | 3 answers | 0

3

answers