Community Profile

# Jon Wieser

##### Last seen: 23일 전
154 2018 이후 총 참여 횟수

#### Jon Wieser's 배지

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Create an RGB Image using a loop by choosing a random color for each pixel
x = 1:10; y= 1:10; image=zeros(10,10,3); m = randi(3,10,10); % creates a vetor that of random numbers from 1:3 that deterim...

3달 전 | 0

| 수락됨

해결됨

Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

5달 전

답변 있음
solving three equations for 3 unknows
try: D=solve('(2*c*w1)+b2 = 0.3205','((2*c*b2)+ w1)*w1 = 214200','(b2*w1)=1.2260e+05;','c','w1','b2')

9달 전 | 0

답변 있음
translate equation to matlab code
s2_hat= n1/n2*(N_hat*(-N_hat*s1_hat))-N_hat*sqrt(1-(n1/n2)^2*(N_hat*s1_hat)*(N_hat*s1_hat))

10달 전 | 0

| 수락됨

답변 있음
Function Return only one value
when you call the function, you need to specify two outputs, for example: [X,Y] =MyEKFFun(31,24,18,330,364,379,1,1.1,1.3,2)

10달 전 | 2

해결됨

Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

10달 전

해결됨

The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

10달 전

해결됨

Counting down
Create a vector that counts from 450 to 200 in increments of 10.

10달 전

해결됨

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

10달 전

해결됨

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

11달 전

해결됨

Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

11달 전

해결됨

Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

11달 전

해결됨

Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

12달 전

해결됨

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

12달 전

해결됨

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

12달 전

해결됨

surface of a spherical planet
you just discovered its circumference, that is the input.

12달 전

해결됨

Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

12달 전

해결됨

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

12달 전

답변 있음
I want to insert a groups of ones in between zeros. I want to display all the possibilities.
here's a start unique(perms([zeros(1,8),111,111]),'rows');

약 1년 전 | 0

해결됨

Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

약 1년 전

해결됨

Calculate the sum of two numbers. Example input = [2 3] output = 5

약 1년 전

해결됨

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

약 1년 전

해결됨

Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

약 1년 전

해결됨

We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

약 1년 전

해결됨

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

약 1년 전

해결됨

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

약 1년 전

해결됨

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

약 1년 전

해결됨

inner product of two vectors
inner product of two vectors

약 1년 전

해결됨

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

약 1년 전

해결됨

Create a vector
Create a vector from 0 to n by intervals of 2.

약 1년 전