Community Profile

photo

Sampath Rachumallu


Last seen: 3 years ago Active since 2019

Statistics

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

View badges

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

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

3 years ago

Solved


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

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

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

3 years ago | 2 answers | 0

2

answers

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

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

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

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

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

3 years 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;...

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

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

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

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 0 answers | 0

0

answers

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

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

4 years ago | 4 answers | 1

4

answers

Answered
GUI 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?...

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

4 years ago | 0 answers | 1

0

answers

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

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

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 1

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

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 0 answers | 0

0

answers

Question


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

5 years ago | 1 answer | 0

1

answer

Load more