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

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

13 Tage ago

Solved

Mysterious digits operation (easy)

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

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

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

15 Tage ago | 2 answers | 0

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

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

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

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

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

18 Tage 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₁...

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

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

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

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

etwa ein Monat ago | 0 answers | 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 ...

etwa ein Monat ago | 0 answers | 0

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

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

etwa ein Monat 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 Monate ago | 2 answers | 1

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

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

2 Monate ago | 0

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 Monate ago | 0 answers | 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...

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

3 Monate ago | 0 answers | 0

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

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

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

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

3 Monate ago | 0

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

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

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

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

3 Monate ago | 0

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

7 Monate ago | 0 answers | 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 ...

etwa ein Jahr ago | 0 answers | 0

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

etwa ein Jahr ago | 1 answer | 0