Question


How can I format a percent using 2 digits after the decimal
I have what should be a percentage but it comes up with several decimal places, how can I limit to 2 after the decimal

12 years ago | 2 answers | 0

2

answers

Question


Is there a load if statement or similar in matlab, way to save workspace variable's seperate mat files?
I want to only load a mat file if it isn't loaded. Is there a way to tell if it is loaded? Is there a way to store every work...

12 years ago | 1 answer | 0

1

answer

Question


Have a function and want to load mat file one time
I have a function that is called within a loop. Is there a way to load the mat file with a bunch of data in it one time or do I ...

12 years ago | 1 answer | 1

1

answer

Question


Way to use parallel computing with nested parfor statements
I have nested for statements, matlab is barely using 25% of my cpu when it is processing so I thought maybe I need to use the pa...

12 years ago | 1 answer | 0

1

answer

Question


ascii2fts runs very slow any way to speed up
I am running the ascii2fts function and it takes about a good 30 seconds on an i7 computer to load the file. Not sure if there i...

12 years ago | 0 answers | 0

0

answers

Question


For loop stops on error - how can I force to continue
Sorry I am new to Matlab and am sure this is a basic question but I have a for loop that imports files. When it comes to an erro...

12 years ago | 1 answer | 0

1

answer

Answered
Way to import time series date string as mm-dd-yyyy
Thanks when I run tstool, and go file create time series from file. I then select a csv file. Columns A & B which are the date a...

12 years ago | 0

Answered
Way to import time series date string as mm-dd-yyyy
Hi Jan I am using the tsimport tool however the date time import only accepts the 3 digit month and not 2 digit month with t...

12 years ago | 0

Question


Way to import time series date string as mm-dd-yyyy
My data is in the format of mm-dd-yyyy hh:mm:ss however it seems like the time series import tool will only import dates & time ...

12 years ago | 3 answers | 0

3

answers

Question


Find index in matrix
I am looking to find the first value in a 1600x6 dimension matrix. Column 1 contains dates formatted as yymmdd and column 2 has ...

12 years ago | 2 answers | 0

2

answers

Question


Comparing Location Data
I have several lists of data from various locations. Each location has a date, time and # of visitors. A snipet of just part of ...

12 years ago | 0 answers | 0

0

answers

Question


How to write a cell array of numbers and string to file
What is the easiest way to dump a cell array to a file.

12 years ago | 1 answer | 0

1

answer

Question


How correlated list of stats
I have the stats for about 100 players. Each stat sheet is for a given player for games played. I am trying to find a function t...

12 years ago | 1 answer | 0

1

answer

Question


Calculate 2 standard deviations
I am trying to calculate +/- two standard deviations from the mean of a bunch of values. I am not sure if I am using the standar...

12 years ago | 2 answers | 1

2

answers

Question


parfor loop & fprint not working
I have two nested loops The top loop is a parfor loop the inner loop is a regular for I am trying to write the results to ...

12 years ago | 2 answers | 0

2

answers

Question


Is there a way to disable all warning messages from command window
Warning: Test statistic #1 above tabulated critical values

12 years ago | 2 answers | 0

2

answers

Answered
Unable to return historical data for given security.
I have the Yahoo fetch in a loop but I still get this. It seems to only happen after hours perhaps the system is down or you can...

12 years ago | 0

Question


How to have input function continue if enter key pressed
I would like to have an input statement such as response = input('Press enter to continue:','s') and a while loop while...

12 years ago | 2 answers | 0

2

answers

Question


plot 3 horizontal lines
I have a simple x,y plot of values. I want to plot 3 additional horizontal lines, one being the mean, one being 2 standard devi...

12 years ago | 1 answer | 0

1

answer

Question


Unable to return historical data for given security.
I am working on a project for class and am getting this message when trying to pull data from Yahoo. When I run a script that ju...

12 years ago | 2 answers | 0

2

answers

Question


Way to tell % complete of script
Is there a way to get an elapsed time or estimated time left or even a percent left of a script that is running?

12 years ago | 3 answers | 0

3

answers

Answered
Way to output a matrix or dat file
Thanks everyone for your help. I noticed that if I removed the parfor command and made it a for loop instead I was able to use t...

12 years ago | 0

Question


i7-2600k procesor 8 cores only 1 core being used
I noticed when running a script it is using less than 20% of my cpu usage to calculate. The scripts run very slowly and I am wo...

12 years ago | 1 answer | 0

1

answer

Question


How to stop a script from executing
This is a basic question but I am wondering how you can halt a script from executing mid script.

12 years ago | 2 answers | 1

2

answers

Question


Way to output a matrix or dat file
I am new to matlab, and trying to figure out a way to ouput. I would like to output into a data file or matrix variable. I have...

12 years ago | 5 answers | 0

5

answers