Community Profile

photo

Purushottama Rao


2015년부터 활동

Working as a locomotive system software engineer for last 5 years.

통계

All
  • Knowledgeable Level 3
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

배지 보기

Content Feed

보기 기준

답변 있음
Removing square brackets from cell array
a=strrep(a,char(91),'') use this

5년 초과 전 | 0

| 수락됨

질문


Inconsistency problem while building a code
I am trying to build a model with ccts Compiler. The Top model consists of reference models. When i tried first time with the ...

거의 7년 전 | 답변 수: 0 | 0

0

답변

답변 있음
How do I smooth out the maximas and minimas of the following scope output in Simulink
Matlab Function inherits the sampling time from the block connected to it. As the clock is connected as the input of the functio...

대략 7년 전 | 0

| 수락됨

답변 있음
Generate the following signals in Simulink
Use a clock as an input in place of sine wave. To reduce the number of cycles you need to modify the function y. If you are lo...

대략 7년 전 | 1

| 수락됨

답변 있음
getting coordinates from gui axes
You can use one of these commands to read the data on mouse click. [x, y] = getpts(fig) or [x, y] ...

대략 7년 전 | 1

답변 있음
why is my program not working ?
I think you are looking for something like x=-10:0.01:10; y(x<-1)=2*x(x<-1)+1; y(x>=1)=2.^x(x>=1)+1; plot(x,y)

대략 7년 전 | 0

답변 있음
Filling cells with repetitive strings
a=cell(1,60); a(1,1:10)={'hello'}; a(1,11:20)={'tree'}; etc...

대략 7년 전 | 1

답변 있음
how to import the excel data into matlab simulink model?
As i understood, you have set of 10000 R and L Values. You would like to get the current values for each set of R L values. Yo...

대략 7년 전 | 0

답변 있음
Why my AC voltage source not provides a sine curve?
Look at sample time in AC Voltage source block.. You may need to replace with your required sample time.

대략 7년 전 | 0

답변 있음
Simulation of iterated integral
It can can be done by creating a signal which would be 1 during the interval of integration and 0 otherwise. https://in.mathw...

7년 초과 전 | 0

답변 있음
How to make for loop to make various mathematical operations. Using matrices.
If it is a magic matrix, then its fairly simple.. m=magic(5); s=sum(m); ans= m/s(1)

7년 초과 전 | 0

답변 있음
Multiple values for a variable in a for loop
You dont need a for loop for doing it. you can try somthing like x(1:10)=0.2:0.2:2 y1 = ((fg*x2^2)/(24*E*I))*(x2^2 -...

8년 초과 전 | 0

답변 있음
displaying only even values in a for loop?
If you want to run entire loop on even numbers you can try for m=2:2:1000 ..... ..... end If your loop runs ...

8년 초과 전 | 2

답변 있음
calculating and displaying the slope of a line
You can try uicontrol. Change the position coordinates according to your requirement. The same thing can be expanded for delta x...

8년 초과 전 | 0

문제를 풀었습니다


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

8년 초과 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

8년 초과 전

답변 있음
How can I substitute all zeros of a matrix with minimum value of the same matrix?
a(a==0)=min(a(a~=0))

8년 초과 전 | 1

| 수락됨

답변 있음
How can I total no. particular parameter of certain column?
if the column wit speed data is denoted as s then use sum(s>80) which gives the desired value

8년 초과 전 | 0

| 수락됨

답변 있음
removal of background of cropped image
http://in.mathworks.com/matlabcentral/answers/155976-how-to-remove-background-from-an-image this gives a good starting point....

8년 초과 전 | 0

| 수락됨

문제를 풀었습니다


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

8년 초과 전

문제를 풀었습니다


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

8년 초과 전

문제를 풀었습니다


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

8년 초과 전

문제를 풀었습니다


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.

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

8년 초과 전

문제를 풀었습니다


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]; and ...

8년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

8년 초과 전

더 보기