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

plus de 12 ans il y a | 2 réponses | 0

2

réponses

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

plus de 12 ans il y a | 1 réponse | 0

1

réponse

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

plus de 12 ans il y a | 1 réponse | 1

1

réponse

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

plus de 12 ans il y a | 1 réponse | 0

1

réponse

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

plus de 12 ans il y a | 1 réponse | 0

0

réponse

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

plus de 12 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

environ 13 ans il y a | 0

Réponse apportée
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...

environ 13 ans il y a | 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 ...

environ 13 ans il y a | 3 réponses | 0

3

réponses

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

environ 13 ans il y a | 2 réponses | 0

2

réponses

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

environ 13 ans il y a | 1 réponse | 0

0

réponse

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.

environ 13 ans il y a | 1 réponse | 0

1

réponse

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

environ 13 ans il y a | 1 réponse | 0

1

réponse

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

environ 13 ans il y a | 2 réponses | 1

2

réponses

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

environ 13 ans il y a | 2 réponses | 0

2

réponses

Question


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

environ 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus de 13 ans il y a | 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...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

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

plus de 13 ans il y a | 1 réponse | 0

1

réponse

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

plus de 13 ans il y a | 2 réponses | 0

2

réponses

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?

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
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...

plus de 13 ans il y a | 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...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

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.

plus de 13 ans il y a | 2 réponses | 1

2

réponses

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

plus de 13 ans il y a | 5 réponses | 0

5

réponses