Community Profile

# Alamanda Ponappa Poovaya

Last seen: 10 days ago Active since 2021

All

#### Content Feed

View by

How to use optimization in matlab?
Hi, It appears you want to find the maximum area of a rectangle with sides A and B, such that A + B = Lt. This would assume tha...

2 months ago | 0

| accepted

Subplot for individual for loop angle
Hi, the reason the graph isn't being plotted the way you expect is because your nested for loop structure is incorrect for thi...

2 months ago | 1

| accepted

How do I display a figure from another section again?
Hi, Essentailly, you want to display a figure which you had previously created in a different section again. You can use the sa...

2 months ago | 0

| accepted

Surrounding elements in an array affect and change an element over a loop.
Hi, Essentially you want to check all elements in the neighbourhooud of a particualr element but you want the search to wrap a...

2 months ago | 0

what is the mistake i am doing here? i have to plot the three equations f,f1,f2
Hi, It appears you are trying to plot symbolic functions. This is not what plot3 is designed to do, it can only plot numerical ...

2 months ago | 0

Plot 2 Tangent Lines in a function
Hi Please have a look at the code snippet below. It calculates the tanget at points 1 and 5 and plots the tangents. Keep in min...

2 months ago | 0

How to find the maximum of some variables ?
You can refer to the function below, it solves your issue function dispwithname(varargin) [~, idx] = max([varargin{:}]); disp...

2 months ago | 0

Combining video files in matlab
You can use while loops with the "hasFrame" check to write each frame of each video to the new file. Below is an example with tw...

2 months ago | 0

Multi- App/Class GUI with app designer
I understand that you essentially want to combine 3 .mlapp files into one GUI. Unfortunately this is not possible. Each mlapp fi...

2 months ago | 0

| accepted

How to extract HOG and EHD features from '.txt' files?
Hi, The first step would be to import the txt file into MATLAB. You can do so in 2 ways. Use the Import Data optiom in the va...

2 months ago | 0

| accepted

How can I show two points value in a wave?
A simple workaround is, first right click the scope output and select 'Print display to figure'. Now you can simply click on p...

2 months ago | 0

Solved

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

2 months ago

Morse Decoder with Character Counter
Hi, First of all, there are a few errors with your userMorse variable. Every time you have typed "..--.-", which indicates a '-...

2 months ago | 0

App Designer as Inputs to Separate Object Oriented Code
Hi, it is possible to do this without using app-designer. You can get this behaviour by using UIFigure components. In the link ...

3 months ago | 0

Display both the figure and save the output in the function 'findchangepts'
Currently findchangepts does not support this feature. I have brought this issue to the notice of the concerned people and it mi...

3 months ago | 1

| accepted

Creating multiple axis scales on one axis - Ex: fixed step, logarithmic, fixed step
It is possible to have multiple scales on one axis, but it is a little lenghty. Please have a look below t = tiledlayout(1,3,'T...

3 months ago | 1

How to write function for panel in App Designer?
You can access the panel a button was present in using the Parent property. Firstly, give each panel an appropriate title in t...

3 months ago | 0

3D Graph (bar3?) with two vectors and one matrix
As per my understanding, you will not get the type of output you want with bar3. Refer to the documentation of bar3 https://www...

3 months ago | 0

Error Message: Undefined function, App Designer
The reason this error is occuring is that, while you have created both time and power variables, they are at the moment local to...

3 months ago | 0

Lock axis for Rotate3D
It is not possible to lock specific axis for rotate3D. However there is a workaround using the rotate function, using which you ...

3 months ago | 1

| accepted

Find the local and global maxima and minima
One option is to use ‘findpeaks’ in the Signal Processing Toolbox. It will give you the maximum (and indirectly the minimum) val...

3 months ago | 0

What is the equivalent of "millis()" and "micros()" in MATLAB?
There is no direct equivalent to millis() and micros() in MATLAB, however you can use tic and toc as a work around. Please ref...

3 months ago | 0

I am having difficulty in finding a code to find diameter of a circle
Rather than finding the distance with code, I feel it would be easier to use imtool and use the 'Measure distance' tool. You c...

3 months ago | 0

| accepted

6. Write a MATLAB program to Plot the spectra of the signal x[n]=sin(nπ/3)
The code snippet below should solve your question. n = 1:0.01:5; y = sin(n*pi/3); plot(n,y); Modify the range of n as requi...

3 months ago | 0

3d BAR GRAPH WITH ERROR
I understand you want to create 3D plot of the errors vs x_true and y_true. First of all, based on the code you have provided,...

3 months ago | 0

How to plot or mark the centroid of each cluster in the output image?
I understand you want to plot the centroid of your clusters. You can use the second argument of kmeans() output. Please refer to...

5 months ago | 0

Error showing image after reading it
You can resolve this error by using the clear command before running your code

5 months ago | 0

Fixing quirk in uihtml + JavaScript implementation of "command line" with command history

5 months ago | 0

| accepted