Juan Gambetta
2018년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
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 ...
6년 초과 전
문제를 풀었습니다
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...
6년 초과 전
문제를 풀었습니다
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...
6년 초과 전
문제를 풀었습니다
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 ...
6년 초과 전
문제를 풀었습니다
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...
6년 초과 전
문제를 풀었습니다
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:...
6년 초과 전
질문
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))*...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0