photo

Shivani Dixit


Last seen: mer än 2 år ago Active since 2021

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 2
  • Revival Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

| accepted

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

Answered
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[1] it gives error.
In MATLAB, we access the elements of an array using paranthesis () and not square brackets [ ]. You can see an example below : ...

mer än 3 år ago | 0

| accepted

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

mer än 3 år ago | 0

| accepted

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

mer än 3 år ago | 0

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

mer än 3 år ago | 1

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

mer än 3 år ago | 0