Drishan Poovaya
MathWorks
Followers: 0 Following: 0
I am an intern at Mathworks. My responsibility is to provide the best support for applications like Image Processing, and Signal Processing. Disclaimer: Any articles /ideas/opinions here are my own and in no way reflect that of Mathworks
統計
All
Feeds
解決済み
Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...
4ヶ月 前
解決済み
Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...
4ヶ月 前
解決済み
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
4ヶ月 前
解決済み
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
2年以上 前
解決済み
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
2年以上 前
解決済み
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
2年以上 前
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
2年以上 前
回答済み
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...
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...
3年弱 前 | 0
| 採用済み
回答済み
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...
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...
3年弱 前 | 1
| 採用済み
回答済み
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...
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...
3年弱 前 | 0
| 採用済み
回答済み
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...
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...
3年弱 前 | 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 ...
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 ...
3年弱 前 | 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...
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...
3年弱 前 | 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...
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...
3年弱 前 | 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...
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...
約3年 前 | 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...
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...
約3年 前 | 0
| 採用済み
回答済み
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...
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...
約3年 前 | 0
| 採用済み
回答済み
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...
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...
約3年 前 | 0
回答済み
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 '-...
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 '-...
約3年 前 | 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 ...
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年 前 | 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...
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年 前 | 1
| 採用済み
回答済み
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...
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年 前 | 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...
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年 前 | 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...
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年 前 | 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...
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年 前 | 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 ...
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年 前 | 1
| 採用済み
回答済み
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...
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年 前 | 1