photo

googo


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

mer än 11 år ago | 0 answers | 0

0

answers

Question


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

mer än 11 år ago | 2 answers | 0

2

answers

Question


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

mer än 11 år ago | 3 answers | 0

3

answers

Question


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

mer än 11 år ago | 3 answers | 0

3

answers

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 3 answers | 0

3

answers

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 2 answers | 0

2

answers

Question


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

mer än 11 år ago | 0 answers | 0

0

answers

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 3 answers | 0

3

answers

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 2 answers | 0

2

answers

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 3 answers | 0

3

answers

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

mer än 11 år ago | 0

Question


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

mer än 11 år ago | 2 answers | 0

2

answers

Question


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

mer än 11 år ago | 4 answers | 0

4

answers

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

mer än 11 år ago | 0

Question


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

mer än 11 år ago | 2 answers | 0

2

answers

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 2 answers | 2

2

answers

Question


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

mer än 11 år ago | 1 answer | 0

1

answer

Question


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

mer än 11 år ago | 2 answers | 0

2

answers