Community Profile

# Sampath Rachumallu

Last seen: 10 months ago Active since 2019

All

#### Content Feed

View by

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

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

1 year ago

Solved

Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

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

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

1 year ago | 2 answers | 0

### 2

Solved

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

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

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

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

1 year ago

Solved

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

1 year ago

Solved

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

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

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

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

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

1 year ago | 0 answers | 0

### 0

Question

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

1 year ago | 0 answers | 0

### 0

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

1 year ago | 0

| accepted

Question

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

1 year ago | 3 answers | 1

### 3

GUI with no 'close' and 'minimize' buttons

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

1 year ago | 0 answers | 0

### 0

Solved

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

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

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

1 year ago | 0 answers | 0

### 0

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

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

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

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

1 year ago | 2

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

Question

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

2 years ago | 0 answers | 0