photo

googo


自 2013 起处于活动状态

Followers: 0   Following: 0

消息

统计学

  • Thankful Level 3

查看徽章

Feeds

排序方式:

提问


Drawing a log likelihood of some distribution
Hello, Suppose I have a distribution with this pdf: p*(x==0) + (1-p)*poisspdf(2,x(i)) her log likelihood will be: ...

11 years 前 | 0 个回答 | 0

0

个回答

提问


how to use function handle
Hello, I want to write a function code that draw a funcion based on the user input. function plotFunc(f,x_min,x_max) ...

11 years 前 | 2 个回答 | 0

2

个回答

提问


Dijkstra's algorithm problem
Hello! I'm trying to build a previous nod vector and I'm handling some problems. not clear, right? :) that's way I'll explai...

11 years 前 | 3 个回答 | 0

3

个回答

提问


Creating a frequency table
Hello, suppose I have a vector in legnth of 100 that contains a number between 1-4 how can I make a frequncy vector using th...

11 years 前 | 3 个回答 | 0

3

个回答

提问


Gamma CDF and PDF
Let X ~ gamma (60,0.5) and I want to calculate P(X < 5) for example. How can I use gampdf and gamcdf for calculating this? I c...

11 years 前 | 1 个回答 | 0

1

个回答

提问


Displaying the size of cell array
I Have a database called DB and when I run DB at the command window I get: DB = Template: {'date' 'name' 'ph...

11 years 前 | 1 个回答 | 0

1

个回答

提问


Spliting a date to day, month and year
Hello, Suppose I have a date in this form only : 14/2/1923 or 8/2/1923 (not 14/02/1923 or 08/02/1923) How can I split it ...

11 years 前 | 3 个回答 | 0

3

个回答

提问


Reaching a specific data in txt file
Hello, suppose I have the file bbb.txt: date intrest profit loss 24/4/2013 5 232 3232 23/4/2013 6 4...

11 years 前 | 1 个回答 | 0

1

个回答

提问


A little help in understanding a function
function DB = DBInit() DB.Records = []; DB.Template = {}; end what's the diffrence between [] and {}?

11 years 前 | 1 个回答 | 0

1

个回答

提问


Help with a function in a loop
*For example:* sampledata: hello world hello hello world world for i=1:size(sampleData,1) [x y]=n...

11 years 前 | 2 个回答 | 0

2

个回答

提问


Importing txt file using the importdata comand
Hello, *1: * I wrote a function that does some manipulations over a vector strings. Now, I want to apply it on text files...

11 years 前 | 0 个回答 | 0

0

个回答

提问


convert a string vector to a vector of numbers
Hello, suppose I have a vector of string [1 2 3 4] and i want to change it to a vector of nmbers to do a numeric caculations,...

11 years 前 | 1 个回答 | 0

1

个回答

提问


Return to the start of a loop
Hello, I'm writing a function which returns the sequences of n requested letters in a string. For example, : string =...

11 years 前 | 3 个回答 | 0

3

个回答

提问


Sum of letters in matlab
Asumming that I have a string = 'abcd' and i want to sum 'a' and 'b' to be z = 'ab'... i guess a(1)+a(2) won't work... ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


printmat function for unknown number of rows
Example: M= rand(5) printmat(M, 'My Matrix', 'ROW1 ROW2 ROW3 ROW4 ROW5', 'FOO BAR BAZ BUZZ FUZZ' ) but...

11 years 前 | 1 个回答 | 0

1

个回答

提问


How to draw a density function?
Suppose I have : x = 1-2 frequency 5 probability 1/2 x= 2-4 frequency 3 probability 3/10 x = 4-6 frequency 2 probability...

11 years 前 | 2 个回答 | 0

2

个回答

提问


A normalizing constant to a histogram
Hey, I hope that you could help me figure out this problem : http://img13.imageshack.us/img13/9687/problemkp.jpg thank yo...

11 years 前 | 1 个回答 | 0

1

个回答

提问


How to change units of Y axis?
I made an histogram (left one) and I want to change the y axis units so it will be like the histogram on the right. http://oi...

11 years 前 | 1 个回答 | 0

1

个回答

提问


A problem drawing a graph in matlab
I'm trying to draw a graph of density in matlab and I'm encountering several problems. First, binValues is a function that do...

11 years 前 | 1 个回答 | 0

1

个回答

提问


A graph in matlab, needs some guidance
Hey, *First question :* Suppose I have two vectors : x = [1 2 3] and y=[0.5,0.35,0.15] and I want to draw a graph using only ...

11 years 前 | 3 个回答 | 0

3

个回答

已回答
A graph in matlab, needs some guidance
thank's for the comments! but isn't there any simpler code? it's one of my first exercises in matlab and I don't think we are al...

11 years 前 | 0

提问


What is the dffrence between the files?
I'm new in matlab and I want to ask what each symbol means. <http://oi45.tinypic.com/s5v8lt.jpg> <<http://oi45.tinypic.com...

11 years 前 | 2 个回答 | 0

2

个回答

提问


Switch/Case and operators
I running this code and and I don't understand why it is writing me that x is less than y... can you help me figure this out? ...

11 years 前 | 4 个回答 | 0

4

个回答

已回答
How to replace a number/vector by string?
thanks... how do I use the switch and case if I want to sort number of situations if days < 10 of month < 10 etc... switch mo...

11 years 前 | 0

提问


How to replace a number/vector by string?
for example: a=[1 1 2000] ---> 1/1/2000 I'm only allowed using num2str but I don't understand how to use it. thank's..

11 years 前 | 2 个回答 | 0

2

个回答

提问


Help understanding the erorr in a matlab code
I'm writing a function which recives a matrix of birth and death dates and return the number of days between them. function...

11 years 前 | 1 个回答 | 0

1

个回答

提问


A problem in calculating diffrence between two dates
function totalDays=dateDiff(date1,date2) y1=date1(3); y2=date2(3); diff1 = dateDiffSameY(date1,[31 12 y1])+1; diff...

11 years 前 | 1 个回答 | 0

1

个回答

提问


how to switch contents of two variables?
hey, I want to write a program that returns the day diffrence between two specific dats. Now,, I want the second date to be ...

11 years 前 | 2 个回答 | 2

2

个回答

提问


I don't understand something
Hey! I'm trying to write a program which take two matrices when one is a type of coin(for exmple: 1 cent, 2 cent etc) and fre...

11 years 前 | 1 个回答 | 0

1

个回答

提问


new in matlab, first question
hey, i'm trying to take a sample from a raw vector using myRandPerm. i had started in the folowing way: function s=sample(...

11 years 前 | 2 个回答 | 0

2

个回答