# Sampath Rachumallu

**Statistics**

RANK**2,060**

of 257,764

REPUTATION**21**

CONTRIBUTIONS

**12** Questions

**6** Answers

ANSWER ACCEPTANCE **
16.67%
**

VOTES RECEIVED**7**

RANK

of 17,763

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Find out the Gray Code for a Given Binary Number

Find out <http://en.wikipedia.org/wiki/Gray_code Gray Code> for a given binary number Example Binary input 1000 Gray ...

2 years ago

Solved

Bit calculation

Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

2 years ago

Solved

Mysterious digits operation (easy)

What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

2 years ago

Solved

Project Euler: Problem 1, Multiples of 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

2 years ago

Question

Remove line present under column names in table

Hi all, I have added some tables in word document using report generator 'Document' Class. However I am getting some lines(unde...

2 years ago | 2 answers | 0

### 2

answersSolved

Crop an Image

A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

2 years ago

Solved

Rescale Scores

Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

2 years ago

Solved

Calculate Inner Product

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

2 years ago

Solved

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

2 years ago

Solved

Calculate a Damped Sinusoid

The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

2 years ago

Solved

Solve a System of Linear Equations

*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

2 years ago

Solved

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

2 years ago

Solved

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

2 years ago

Solved

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

2 years ago

Question

Feasibility of using Xbox controller without simulink

Hi all i need the use the xbox controller in matlab to control different motors.I have browsed for resources but all the provide...

2 years ago | 0 answers | 0

### 0

answersQuestion

Detect multiple mouse input using Rawinput API in Matlab

Hello all, I am currently working on an application that requires two mice to control two motors in Matlab. I did some research ...

2 years ago | 0 answers | 0

### 0

answersCan't convert RGB image to grayscale with button in app designer

You are directly calling uiaxes handle but not the child that has the image object. To access the image displayed in uiaxes Tr...

2 years ago | 0

| accepted

Question

Mask Password with asterisk in edit field used in app designer

Hello all, I have created a basic gui in app designer for user login.It has username selection as dropdown and password as edit ...

2 years ago | 3 answers | 1

### 3

answersGUI with no 'close' and 'minimize' buttons

You can check the below link. https://www.mathworks.com/matlabcentral/answers/480169-how-to-catch-when-a-figure-was-minimized?...

2 years ago | 1

Question

Hide minimize and close button of GUI developed using app designer

Hello all, I am currently developing an application using appdesigner. I want to hide the minimise and close button('x' mark) w...

2 years ago | 0 answers | 0

### 0

answersSolved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago

Solved

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

2 years ago

Question

Shift in trajectory of data points plotted after using imshow and hold on

Hello all I have encountered a weird problem today. The Final trajectory of the static points plotted after using imshow,hold on...

2 years ago | 0 answers | 0

### 0

answersapp designer mouse events (position and clicks) on axes component

Create a function called 'mouseMove' inside app in your case. Refer https://www.mathworks.com/help/matlab/creating_guis/code-an...

2 years ago | 0

Error, matrix dimension must agree

Here Vp ,Vs are of class 'char' and cannot be divided. So you have to convert them to integer format for division.Try a = str2...

2 years ago | 1

| accepted

Trouble drawingpolyline in appdesigner

I think drawpolyline functionality for uiaxes has been recently added (r2020a). I am using r2019a and i got following.error: Fu...

2 years ago | 1

access data from one app in another app in appdesigner

Found the solution. Pasting it here for reference. In app designer we can acess an app data using 'app' handle. In the above cas...

2 years ago | 3

Question

Write Video in DICOM format

Hello all, I am trying to Write a Video in DICOM Format using MATLAB. I have observed that VideoWriter function will support onl...

2 years ago | 0 answers | 0

### 0

answersQuestion

Mouse callbacks not working for uifigure in 2017b version

I wanted to use some of the mouse callbacks like "windowbuttonmotion" fn for uifigure.I have gone through the documentation and ...

3 years ago | 0 answers | 0

### 0

answersQuestion

access data from one app in another app in appdesigner

I want to access value of string entered in editbox of app1 in app2.This is the code i have written %app1 code %in a button_pr...

3 years ago | 1 answer | 0