Community Profile

photo

Jeff


Last seen: mer än ett år ago Active since 2013

horribly new on matlab but loving it; sorry for so many questions but I appreciate all the support Professional Interests: economics, central banking

Statistics

  • First Review
  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Answered
Align subplot x-axes
I found a solution, realizing later that i didn't fit the graph 2 axis like I did for graph 1, and it seems to have solved the i...

ungefär 5 år ago | 1

| accepted

Question


Align subplot x-axes
Hi all, could someone please help me on how to align the scales? % data data = rand(14,2); x = data(:,1); y = data(:,2); ...

ungefär 5 år ago | 2 answers | 0

2

answers

Answered
Add two matrices (element wise addition) together ignoring NaNs
Ok, not to waste too much of the MathWorks communities' time but i did find what looks to be the appropriate solution: tmp ...

ungefär 6 år ago | 2

| accepted

Question


Add two matrices (element wise addition) together ignoring NaNs
Hi all, Can someone help on this? I'm sure it is straight forward but getting stumped. I would simply like to add two matri...

ungefär 6 år ago | 3 answers | 1

3

answers

Answered
what cause this error to xlsread randomnly?
I am currently getting the same error when just simply trying use xlsread on a .xlsx file and it doesn't appear to be related to...

ungefär 7 år ago | 0

Question


Generate new variables based on expressions in structure array using loops -- example provided need help to fix
Can someone help direct me on how to get this to work? For example, I would like to create a new variable in the 'var' structur...

nästan 9 år ago | 2 answers | 0

2

answers

Question


Can you help to create a new variable on each loop?
Hi All, I would like to have a new "data" variable below to be created on each iteration of this loop - length(files) = 12; ...

nästan 9 år ago | 1 answer | 0

1

answer

Answered
reading only a portion of a text file
fid = fopen('mydata.txt', 'r'); tline = fgetl(fid); k=1; while ischar(tline) disp(tline) findrows = strfind(tline, ...

ungefär 9 år ago | 0

Answered
reading only a portion of a text file
fid = fopen('mydata.txt', 'r'); tline = fgetl(fid); k=1; while ischar(tline) disp(tline) findrows = strfind(tline, 'A...

ungefär 9 år ago | 0

| accepted

Answered
how to return first 5 digits of 6th column in cell array?
Ok found it; thanks anyway all cell{1,5}(1:5)

ungefär 9 år ago | 0

| accepted

Question


how to return first 5 digits of 6th column in cell array?
Hi Matlab community, Here's another newbie question. I would like to replace the 6th column with the first 5 digits of that ...

ungefär 9 år ago | 2 answers | 0

2

answers

Question


reading only a portion of a text file
I would like to read in a text file that contains a header and footer of information, where the number of rows of the header/foo...

ungefär 9 år ago | 3 answers | 0

3

answers

Question


how to append multiple CSV files with mix of numeric / non-numeric into one final table
Hi all, I have 60 CSV files that contain one column of text and the remaining 6 columns are numeric. The first row in all ...

ungefär 9 år ago | 1 answer | 0

1

answer

Answered
can someone help me loop this??
Hi Roger, this is bang on however I can't completely confirm because I screwed up in my example. The PC matrix is longer th...

mer än 9 år ago | 0

Question


can someone help me loop this??
n=4 t=1:21 std_t1 = (((pc(1,:)- MA(1,:)).^2)/(n-1)+... ((pc(2,:)- MA(1,:)).^2)/(n-1)+... ...

mer än 9 år ago | 3 answers | 0

3

answers

Answered
How to export a DataMatrix to excel ???
just found this, seems like text is the only option dmwrite(z,'C:\matlab\excel\test.txt');

mer än 9 år ago | 0

| accepted

Question


How to export a DataMatrix to excel ???
Hi can someone help with this? I would like to export this DataMatrix to excel that includes the metadata created. x1=[10 8 ...

mer än 9 år ago | 1 answer | 1

1

answer

Answered
I would like to filter out some vectors based on a percent of aggregate
Found this in the matlab documentation just to share Find the indices of values in a vector that are greater than a specified...

mer än 9 år ago | 0

Question


filter series based on test but how do I know what series passed??
Hi all, i had some help with this already from Image but one thing is I need to know what variables passed the test, as there wi...

mer än 9 år ago | 1 answer | 0

1

answer

Question


I would like to filter out some vectors based on a percent of aggregate
I would like to filter some time series based on their weight of the overall aggregate. The weights are to be calculated based ...

mer än 9 år ago | 2 answers | 0

2

answers