Community Profile # Shivani Dixit

Last seen: 約1ヶ月 前 2021 以来アクティブ

#### Statistics

All
• • • • バッジを表示

#### Content Feed

Problem in loop in programme
As per the problem encountered , if you are using it in a loop in a program, the iterating variable 'i' would take up the value ...

11ヶ月 前 | 0

array concatenation problem in matlab
Assuming any inbuilt function should not be used, you can add up one array to other by the following method : % assume this to ...

11ヶ月 前 | 0

| 採用済み

Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: \$99,999.99. E...

11ヶ月 前

Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

11ヶ月 前

Store numbers in an array from user input
In the above given code it is also possible to form the array while taking the input from the user. Also in the below code giv...

11ヶ月 前 | 0

Index in position 1 exceeds array bounds (must not exceed 1)
The above problem of "Index in position 1 exceeds array bounds (must not exceed 1)" arises when we try to access rows/columns wh...

11ヶ月 前 | 0

Writing sums with a loop?
MATLAB provides you with and easy to understand document that you can take advantage of. The functions that the above mentioned ...

11ヶ月 前 | 0

I am creating a vector but its throwing some error. Example I create vector a= [3.4 -4.90 0.23], and when I access it a it gives error.
In MATLAB, we access the elements of an array using paranthesis () and not square brackets [ ]. You can see an example below : ...

11ヶ月 前 | 0

| 採用済み

Indexing in for loop
Assuming you are using MATLAB, the indexing begins from 1. An example for for loop is explained below: arr = [1 2 3 4 ] % assu...

11ヶ月 前 | 0

| 採用済み

loop
With reference to selecting elements from a matrix ':' refers to selecting the elements from starting index to ending index. In...

12ヶ月 前 | 0

How to calculate a max value in a array without the built in functions.
You can use for loop or while loop for finding out the maximum or minimum element in the array without using any built-in functi...

12ヶ月 前 | 0

loop over a list of numbers
For looping over each element of an array or list , you can use for loop or while loop according to convenience. Simply using a ...

12ヶ月 前 | 0

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

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