Community Profile

RAGHUNATHRAJU DASHARATHA

Last seen: 11 giorni fa Attivo dal 2022

All

Content Feed

Visto da

Risolto

Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

12 giorni fa

Risolto

Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

12 giorni fa

Risolto

Make a Plot with Functions
Make a plot and test

13 giorni fa

Risolto

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

13 giorni fa

Risolto

Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

13 giorni fa

Risposto
Tick marks on primary x and y axes
As per my understanding you want to remove tick marks on top x axis and right y axis . I will try to demonstrate using the belo...

13 giorni fa | 0

| accettato

Risposto
Why does my else doesnt work?
As per my understanding you are using conditional statement if-else to get your output but unable to do it because in else cond...

13 giorni fa | 1

Risposto
Plot five y axis for one x axis in single plot?
As per my understanding you want to plot multiple y-axis for single x-axis in a plot You can try a function from the file excha...

13 giorni fa | 0

Risolto

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

14 giorni fa

Risolto

Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

14 giorni fa

Risolto

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

14 giorni fa

Risolto

Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

14 giorni fa

Risolto

Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

14 giorni fa

Risolto

Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

14 giorni fa

Risolto

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

14 giorni fa

Risolto

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

14 giorni fa

Risolto

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

14 giorni fa

Risolto

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

14 giorni fa

Risposto
how to plot this
As per my understanding you want to plot x and y but you are unable to do that beacuse you are not using element wise operations...

14 giorni fa | 0

Risposto
Table column of strings to a matrix.
As per my understanding you want to get a matrix from the string array I will demonstarte it using the example below A=["[0 0 ...

14 giorni fa | 2

Risposto
I want to put a column of information back into an excel sheet
A per my understanding you want to add a new column of information back to the excel sheet. you can add the following lines of ...

14 giorni fa | 0

| accettato

Risposto
put it in a function
As per my understanding you want to write your code into a function . I will be demonstrating it using your code as example bel...

17 giorni fa | 0

Risposto
Get data from table to editfield
As per my understanding you want to get minimum value from 2nd and 3rd column of your data. I assume you have converted your ta...

17 giorni fa | 0

Risolto

Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

24 giorni fa

Risolto

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

24 giorni fa

Risolto

Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

24 giorni fa

Risolto

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

24 giorni fa

Risposto
surface and volume charge
A per my understanding you want to know how Matlab used the columbs law to calculate the electric fields. You can refer to the ...

24 giorni fa | 0

Risposto
Return Values that are Between Two Values
As per my understanding you want to get the values between the lower and upper threshold from your vector. I will try to explai...

27 giorni fa | 0

Risposto
How can i plot this function? y=0.75/(log10(x)*2).^2
As per my understanding you want to plot the given function in 2D plot . It is just that you forgot to add '.' before '/' to do...

28 giorni fa | 0

| accettato