Question

counting strings in cell array, is there a faster solution

Hi all. I have two cell array's test1 240000x1 and test2 160000x1. Each cell of test1 contains a string, varying lengths 1-20...

environ 9 ans ago | 1 answer | 0

Question

evalin('base', 'save('var1', 'var2')')

evalin('base', 'save('var1', 'var2')') I am trying to run a simple function to save specific variables from the base.workspa...

environ 9 ans ago | 2 answers | 0

Question

Quicky. re 'whos' and workspace.

Hi, What is the location/path of the workspace or how do I 'whos' my workspace from within a function. If I from within a ...

environ 9 ans ago | 3 answers | 2

Question

Quick question/explination Re 'movavg'

Hi, I have just created five arrays, four of them using 'movavg' of variang sample lengths, the last array is just the raw da...

environ 9 ans ago | 1 answer | 0

Question

Quickie, global variables and sub functions.

Hi, I have a primary function set with 12 global variables I want the sub-functions to use, they are only double constants h...

environ 9 ans ago | 1 answer | 0

Question

clarification of the use 'switch case'

Hi, I would just like a little clarification of the use of 'switch case', most of the examples I have looked at showed examples...

environ 9 ans ago | 1 answer | 0

Question

HowTo 'IFError' and skip

How do identify an error in order that I can skip and run alternative script. I want to if fprintf('\t%s\n',TPin{1,2}...

environ 9 ans ago | 1 answer | 0

Question

Printing to screen command window.

Hi, I am building a pseudo DB using a cell array. Each column will contain numerical array of varying sizes all calculated from...

plus de 9 ans ago | 0 answers | 0

Question

replicating/copy part of Cell Array

I have Cell Array; CA{100,5} is there a function/syntax to copy a section of a cell array in a similar fashion to copying...

plus de 9 ans ago | 2 answers | 1

Answered

Wish-list for MATLAB Answer sections.

iMatStore Instead of paying for a complete toolbox, you could go to the iMatStore and download a single track. Who listens to...

Wish-list for MATLAB Answer sections.

iMatStore Instead of paying for a complete toolbox, you could go to the iMatStore and download a single track. Who listens to...

plus de 9 ans ago | 0

Question

A Quickie: do I have to create a temp array in my code

Hi, Q? do I have to create the temp array 'abMt'. Can I rap 'TxTRIn{ii,2}(indx,2:5)' in max to get ans? 1 first I create a...

plus de 9 ans ago | 2 answers | 0

Answered

Wish-list for MATLAB Answer sections.

Being able to accept more than one answer. Just posted a question regarding dynamic array names. One Answer, answered the questi...

Wish-list for MATLAB Answer sections.

Being able to accept more than one answer. Just posted a question regarding dynamic array names. One Answer, answered the questi...

plus de 9 ans ago | 1

Question

help with dynamic variable names set with 'for' incrementer

Hi, I am trying to split up a large numerical dataset into individual days. What I have that works and what I have that faile...

plus de 9 ans ago | 3 answers | 0

Question

Best shap for data to be in to work on.

Hi, I have a number of years of time series data of the format; Date Time Open High Low Close 734141 1544 1.6152 1.61...

plus de 9 ans ago | 1 answer | 0

Answered

Using Files from File Exchange

Whats the file you have found? Would help with providing an Ans for you. AD

Using Files from File Exchange

Whats the file you have found? Would help with providing an Ans for you. AD

plus de 9 ans ago | 0

Question

Is there a more effitiant way than 'datenum(num2str(FTStempIn(:,1:1))'

Hi Profiler is telling me I am spending over 60% of my time running this part of my function, a simple import of data. What I ...

plus de 9 ans ago | 1 answer | 0

Question

Question veiw count and waiting for answers.

HI, Question/suggestion. I would like to suggest, is it be possible to have a view count or some indication that our question...

plus de 9 ans ago | 2 answers | 3

Question

FTS Bolling, would like additional data returned

Hi, I have classical financial equity data in an array, NB not stored as 'fints'. Columns are as follows; [inst ID], [dat...

plus de 9 ans ago | 0 answers | 0

Question

When should you start to consider using MEX files?

Hi Whilst following some discussion forums about project euler problems and the best languages to use, someone asked was Matlab...

plus de 9 ans ago | 2 answers | 2

Question

Pre-alocating an array and locating last empty cells

Hi I am currently doing a project Euler problem for Pythagorean triplets. I have decided to use matrix transformation to produc...

plus de 9 ans ago | 1 answer | 0

Question

How to create a list of an array index

I am doing a project Euler prime number puzzle but I do not wish to use the Matlab primes function , so I'm building my own. ...

plus de 9 ans ago | 1 answer | 0

Question

Loop is killing proccesor.

I am running the code below where I am trying to create a matrix for all the products of x digit numbers. Works fine for 1 and 2...

plus de 9 ans ago | 2 answers | 0

Question

1e3 = 1000 how do I 1e'x' where x is variable.

1e3 = 1000 how do I 1e'x' where x is variable.

plus de 9 ans ago | 1 answer | 0

Question

Real quick one, passing through a matrix backwards or just flip it.

During a _for_ or _while_ loop I would like to start at the back of the matrix and cycle to the beginning. Or do I just flip it ...

plus de 9 ans ago | 2 answers | 0

Question

A school boy Q? about the complexity of variable/symbol names.

To recap; Whilst comenting on a question, I asked " _Does the length and complexity of variable names make any difference to ...

plus de 9 ans ago | 3 answers | 3

Question

Is it me or is there a problem with a link to the Answer page.

How ever I try and get to the Answer page to see the questions asked ect. I get; The page you were looking for doesn't ex...

plus de 9 ans ago | 0 answers | 0

Question

How could I neaten this code up.

Hi Currently working through some of Project Eulers problems as mentioned in the forum discussion 'Best way(s) to master MATL...

plus de 9 ans ago | 4 answers | 1

Question

What should I consider when building 'financial time series' functions.

Hi, I would like some advice on what I should be thinking about whilst building this project. How should I import data, struc...

plus de 9 ans ago | 0 answers | 0

Question

trouble selecting column for function to return

My code; function Mat_abcd = mod_mx(x, y) A = x; B = bsxfun(@mod,x,y); C = floor(bsxfun(@rdivide,x,y...

plus de 9 ans ago | 1 answer | 0

Question

Expansion on my Devision of matrix by matrix Q?

Can I expand on this, x = [4; 8; 12; 16; 20]; y = [2 4]; Qa = bsxfun(@rdivide,x,y); Returns Qa = [2 1; 4 2; 6 3; 8...

plus de 9 ans ago | 1 answer | 0