統計
All
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 ...
7年以上 前
解決済み
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...
7年以上 前
解決済み
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...
7年以上 前
解決済み
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 ...
7年以上 前
解決済み
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...
7年以上 前
解決済み
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:...
7年以上 前
質問
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))*...
7年以上 前 | 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...
7年以上 前 | 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...
7年以上 前 | 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 ...
7年以上 前 | 1 件の回答 | 0


