Community Profile

photo

Swaroopa


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 1
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
how to sort a array with 100 values. and also save there index also?
Hi Preet, You can use map() function to store previous indices of elements in array and then sort the arrray. You can refer So...

1 year ago | 0

Answered
The provided solution is coming up as incorrect.
Hi Owen, You have to create the same variable name "movaway" and please check whether you have given correct variable name. In...

1 year ago | 0

Answered
i tried to find if there are perfect numbers in the code stating that 1 should be square of other in the same matrix or array
Hi Hannah, You can sort the array or matrix and then use the same code. You can also use indentation rules for better clarity....

1 year ago | 0

| accepted

Answered
How to write this in the for loop?
Hi Ara, You can use for loop and if condition to read n for numbers 1 to 100 and 200 to 300 in the following way for i=1:500 ...

1 year ago | 0

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

1 year ago

Answered
Minimum and Maximum Values
Hi Raffi, You can try the code in the following way. i=0; stop=3; Numbers=input('Enter a number'); maximum=Numbers; minimu...

1 year ago | 0

Answered
Hover over elements?
Hi Shreya, If you are in debugging mode,then you can see the variables data when you hover over them and in command window als...

1 year ago | 0

| accepted

Answered
Matlab doesn't seem to open scripts.
Hi Jacob Cram Sometimes MATLAB might get frozen when lot of data is there in cache. In that case, restart the system and again...

1 year ago | 0

Answered
checking character by for loop
Hi Ugur Sahin, You can use isLetter(A) function in the MATLAB. text1='hi I am jo*hn' for control=1:length(text1) if is...

1 year ago | 0