Question

t test for two samples with different sizes

Hi, Which function should i use if I want to test whether two samples with different sizes have different means? I see many t...

13 years ago | 1 answer | 0

Question

Counting the number of digits

Hi, how can I compute the number of digits A=[12875] how can I get 5 as the number of digits in A?

13 years ago | 9 answers | 2

Question

writing a string

A=3; B=17; how can I write a string: 'Panel A: range(3-17)'?

13 years ago | 2 answers | 0

Question

How do I obtain the end of month dates for a time interval?

if i have two dates that constitute a time interval such as : 726864 and 734169 is it possible to compute the end of month dates...

13 years ago | 2 answers | 0

Question

Adding functions permanently to matlab

I have many self developed functions in a folder called Finance (C:\Documents\MATLAB\Finance). I sthere a way to add these funct...

13 years ago | 3 answers | 1

Question

trimming numbers

how can I trim numbers in matlab (similar to the left and right functions in excel). For example, if: A=[3829 3620 3714] and i...

13 years ago | 2 answers | 0

Question

highest frequency

Hi, is there a matlab function that computes the highest frequency of occurences? for example: A=[3423 3420 3423 3421 3423 ...

13 years ago | 2 answers | 0

Question

unique rows with nan

If i have two identical rows for example: A=[ 1 2 3 NaN;1 2 3 NaN]; using unique(A,'rows') is not eliminating the dupl...

13 years ago | 1 answer | 0

Question

matching digits

I have 3 vectors A, B, and C that consist of 4 digits each. is it possible to find the common digits at the beginning of each nu...

13 years ago | 1 answer | 0

Question

strfind when I have more than one row

K = STRFIND(TEXT,PATTERN) I am trying to find Pattern in an array of many rows but I am receiving an error : ??? Error using...

13 years ago | 4 answers | 0

Question

Matching two texts

Hi, I have two texts . is it possible to extract the text where the two arrays match.For example: A='First Boston Corp Lehma...

13 years ago | 3 answers | 0

Question

segregating a text

I have a char array where the content is mainly simila to this format 'JPM/GS/UBS-INV-BANK' is it possible to separate the ...

13 years ago | 2 answers | 0

Question

stop executing commands in a loop

Hi, if i have a loop and a condition is not met to continue the execution how can i tell the loop to skip the remaining comma...

13 years ago | 1 answer | 0

Question

finding if a variable exists

I am running an if loop that creates a variable x. at a later stage if x exists I want to use to build other variables. is there...

13 years ago | 1 answer | 0

Question

Left digits

if I have a number such as 1234, how can I select the left 3 digits 123?

13 years ago | 3 answers | 0

Question

breakpoints

Hi, I have a long matrix of breakpoints: for example, 0.19 0.49 0.69 0.93 1.69 is there an easy function to determine if...

13 years ago | 2 answers | 0

Question

Adding Stars

Hi, Is it possible to add a star superscript next to a number. Example A=0.06. is it possible to say if A<0.06 add a * to...

13 years ago | 1 answer | 0

Question

Using ranksum function

I have a distribution which is not normal and i want to use wilcoxon rank test to test if the median is =0;if the observations a...

13 years ago | 2 answers | 0

Question

find the nearest text match

Hi, I have two big lists of banks that I can only match them by names, However, these names sometimes are not 100% identical....

13 years ago | 1 answer | 1

Question

selecting the closest possible date

Hi , I have the following matrix: 1226 727198 1226 727563 1226 727929 1226 728294 1226 728659 1226 729024 1226 729...

13 years ago | 1 answer | 0

Answered

Formating a table

Panel A window [-1.0] [-1,+1] [-5,+5] [-10,+10] CAR 0.0000 0.0008 0.0010 -0.0045 P 0.9837 0.2570 0.3606 0.0014 N 2927...

Formating a table

Panel A window [-1.0] [-1,+1] [-5,+5] [-10,+10] CAR 0.0000 0.0008 0.0010 -0.0045 P 0.9837 0.2570 0.3606 0.0014 N 2927...

13 years ago | 0

Answered

Formating a table

oops sorry guys. the preview showed me a well formatted table: the basic idea is that you have 3 rows in each panel the e3rd row...

Formating a table

oops sorry guys. the preview showed me a well formatted table: the basic idea is that you have 3 rows in each panel the e3rd row...

13 years ago | 0

Question

Formating a table

Hi, I have the following table Panel A window [-1.0] [-1,+1] [-5,+5] [-10,+10] CAR 0.0000 0.0008 0.0010 -0.0045 P ...

13 years ago | 2 answers | 0

Question

str2double:getting rid of the decimal points

Hi, A={'2248866001' '2249926001' '2249924001' '2249925001' '2249906001'} I am trying to convert to double using str...

13 years ago | 1 answer | 0

Question

dates with yy

Hi, I have a cell array of dates that have this format: '08/28/01' '03/01/97' etc.. How can I convert them to a double mat...

13 years ago | 1 answer | 0

Question

Database toolbox: username and password problem

I need the database toolbox to run queries in Access using matlab: I tried:\ 1. querybuilder (the visual query builder shows u...

13 years ago | 2 answers | 0

Question

xlswrite error

Hi, the variable data is 17503x23 matrix. hen I try to use xlswrite function: xlswrite('ISINend.xls',data); is returning t...

13 years ago | 1 answer | 0

Question

Sum of Digits

Hi, If I have the following vector: [1 9 11 3 7 8 14] then how can I add the double digits (when the number is greater than ...

13 years ago | 2 answers | 0

Question

removing outliers

Hi, I have data which is by event for n number of companies (not time series data). Visually, I can see that there are outlie...

13 years ago | 3 answers | 1

Question

skip a load error

Hi, I want to load some mat files in my folder according to a certain criteria. Sometimes this file doesn't exist. How can I ...

13 years ago | 2 answers | 0