Community Profile

photo

Samiha Shimla


19 2018 年以降の合計貢献数

Samiha Shimla's バッジ

  • Thankful Level 1
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

7ヶ月 前

解決済み


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

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ヶ月 前

解決済み


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ヶ月 前

解決済み


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

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ヶ月 前

解決済み


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7ヶ月 前

質問


Flipping specific segment of string rather than the whole string
If I have a string str='One two buckle my shoe' how can I flip it to look as follows? strM='enO owt elkcub ym eohs' I have ...

7ヶ月 前 | 3 件の回答 | 0

3

回答

質問


Capitalizing every word in a string
str='The bottom of the deep blue sea' strN='The Bottom Of The Deep Blue Sea' To convert the string 'str' to 'strN' is used: ...

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How do I loop inside a loop for a random walk? How to store values inside the loop?
I have attached the file that contains the original question. I have already mapped a 1-d random walk of 1000 steps. Now I need ...

9ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How do I plot a 1-d random walk that generate 1 and -1 with equal probability? I am struggling to plot every individual P that I get against i the number of step.
P=0; % Starting value for i=1:10 % i is the number of steps from 1 to 10 R=rand; if R<0.5 S=-1; elseif R>0.5 ...

9ヶ月 前 | 1 件の回答 | 0

1

回答

解決済み


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

9ヶ月 前

解決済み


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

9ヶ月 前

解決済み


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

9ヶ月 前

解決済み


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

9ヶ月 前

解決済み


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

9ヶ月 前

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

9ヶ月 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

9ヶ月 前

解決済み


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

9ヶ月 前