Community Profile

photo

Juan Gambetta


Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Solved


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

5 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

5 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Question


How to actually maximize a function with many variables
Hello. I have these two functions: lik = @(x) -(log(x(1,1))*mb2(1,1)+log(x(1,2))*mb2(1,2)+log(x(1,3))*mb2(1,3)+log(x(1,4))*...

5 years ago | 0 answers | 0

0

answers

Question


Best way to calculate a long product of numbers between 0 and 1
Hi I have these two variables: l_h0 = (x(1,1)^(mb(1,1)+mb(1,5))*x(1,2)^(mb(1,2)+mb(1,6))*x(1,3)^(mb(1,3)+mb(1,7))*x(1,4...

5 years ago | 1 answer | 0

1

answer

Question


Logarithms between 0 and 1 and ratios
Hello I have to divide two things. They are really small, so I did log of both of them and then divided. Now, the thing is th...

5 years ago | 1 answer | 0

1

answer

Question


Maximizing likelihood not working
Hi, I am trying to maximize the likelihood of a sample using MATLAB. My issue is that, when testing my code against a result i ...

6 years ago | 1 answer | 0

1

answer