Question

Plot Bode asymptote from Transfer Function

Hello, I have a simple transfer function and able to plot the exact Bode Diagram: num = [2 100]; den = [0.25 1 1 0]; ...

2 years ago | 0 answers | 0

Question

Input Dialogue box text not breaking line

Hello, In the code below, I am attempting to break the lines of text in the dialogue box to two lines: line 1: What Text o...

3 years ago | 1 answer | 0

Question

Simplify Forward Kinematics symbolic solver output

Hello, in the code below, the output for the sybmolic solver gives very large numerators and denominators. I tried using the di...

3 years ago | 0 answers | 0

Question

Find the rth "0" in specific columns in a matrix

Hello, In the code below, thanks to the solution by Cedric Wannaz posted <https://www.mathworks.com/matlabcentral/answers/362...

3 years ago | 2 answers | 0

Question

Find index of first zero searching from left first column first row, then find index of first zero searching from last column last row

Hello, In the code below, I am attempting to find the index of first zero searching from the left first column first row, goi...

3 years ago | 1 answer | 0

Question

imrotate in Matlab App Desinger

Hello, Is it possible to rotate an image in Matlab app designer? I input an image using the following code: % Code th...

3 years ago | 2 answers | 1

Question

Rotate image in Matlab app designer

Hello, I was able to get an image rotated using Matlab GUI. I am now trying to implement the same effects using Matlab App D...

3 years ago | 1 answer | 1

Question

Reset Constant value in Simulink from Matlab GUI

Hello, In this very simplistic model of just a constant in Simulink, I wanted to RESET the value to zero by hitting the RESET...

3 years ago | 1 answer | 0

Question

Rotate image using slider in Matlab

Hello, I am attempting to rotate an image in Matlab GUI using a slider. I tried to follow the directions given in the stack ex...

3 years ago | 1 answer | 0

Question

Add markers at min max points in a triangular plot

Hello, I wanted to add dots at the min, max points on the triangular plot that I have generated so that my final plot can look ...

3 years ago | 1 answer | 0

Question

Is it possibe to have a custom image as a control in Matlab App Designer?

Hello, I would like to know if it is possible to have an image like this <</matlabcentral/answers/uploaded_files/90115/rce32...

3 years ago | 1 answer | 0

Question

Make faces of cube transparent

Hello, I have made a 3D cube but would like to have the faces appear transparent. How do I go about doing that? Thanks. ...

3 years ago | 1 answer | 0

Question

Symplify symbolic expression instead of outputting very large denominator values

Hello, In this code: z = 1; Q = z^2 -1.368*z + 0.368 + 0.368*k*z + 0.264*k I get the answer as: Q = (79*...

3 years ago | 1 answer | 0

Question

Show separate figures next to each other, not using "subplot"

Hello, I wanted to know if there is a simple way to show multiple separate figures next to each other, without overlap. I tr...

4 years ago | 1 answer | 0

Question

Error Histogram in Artifical Neural Network Skewed - cause of poor success rate?

Hello, I am running a Artificial Neural Network algorithm in Matlab using the following <https://www.researchgate.net/post/Ho...

4 years ago | 0 answers | 0

Question

Insert "1" at specific ranges in a matrix

Hello, I am trying to generate a 40 x 360 matrix that has 1's every 9 columns. After the 9th column, the 1's should now be i...

4 years ago | 2 answers | 0

Question

Split uigetdir line into two or more lines

Hello, I am trying to split a uigetdir line into two lines like this: datapath = uigetdir('C:\Users\bossman\Desktop\LaTe...

4 years ago | 1 answer | 0

Question

Classify Image using SVM after PCA analysis

Hello, I need some help to classify a test image to belong to the correct person. I am using PCA with a SVM classifier to ...

4 years ago | 0 answers | 0

Question

Compare each row of array, then return the number of rows that are equal

Hello, I was trying to compare each row, one by one, and then return the number of rows that are equal. For example, for the ...

4 years ago | 1 answer | 0

Question

imshow multiple pgm files from different subfolders

Hello, I have 40 sub folders each with 10 images per subfolder. Each pgm image is 112 x 92. I wanted to generate 8 figure...

4 years ago | 1 answer | 0

Question

dir() gives extra information

Hello, I wanted to just get the number of subfolders from a specific main folder. The main folder contains files, together with...

4 years ago | 2 answers | 0

Question

Find number of files in multiple subfolders with specific extension

Hello, I have multiple sub folders in one main folder. These multiple sub folders contains files with the same extension .pg...

4 years ago | 1 answer | 0

Question

Is changing the 'KernelScale' in the fitcsvm equivalent to changing the sigma value?

Hello, I am using this command: cl3 = fitcsvm(X,Y,'KernelFunction','rbf', 'Standardize',true,'BoxConstraint',10,'ClassNa...

4 years ago | 0 answers | 1

Question

Change location of legend in a legned(h,{.....}) format

Hello, I was using the example found on the <https://www.mathworks.com/examples/statistics/mw/stats-ex18316588-train-svm-clas...

4 years ago | 1 answer | 0

Question

change the rbf in SVM

Hello, I am using the command cl = fitcsvm(X,Y,'KernelFunction','rbf',... 'BoxConstraint',Inf,'ClassNames',[-1,1]...

4 years ago | 2 answers | 0

Question

Plot projection points after PCA analysis

I have these simple points: X = [-0.7142;-1.7142;-1.7142;-0.7142;1.2857;1.2857;2.2857]; Y = [1.2857;0.2857;-0.7142;0.285...

4 years ago | 2 answers | 0

Question

Get value from function to be used in another program part 2

Hello, I have this function function [x y] = centroid(X) X = X/sum(X(:)); [m,n]=size(X); [I,J]=ndgrid(1:m,1...

4 years ago | 1 answer | 0

Question

Quadprog says the problem is non-convex

Hello, I am trying to get the solution of the SVM algorithm for the two classes listed. I am trying to use quadprog to solve f...

4 years ago | 2 answers | 0

Question

Find knn (nearest neighbour) point give a data set

Hello, I have this simple data set: Class1 = [1 0; 0.5 1; 0.5 1.5]; How do I go about finding the "nearest neighbor" poi...

4 years ago | 1 answer | 0

Question

place matrix in array part 2

This post is building from the post found <http://www.mathworks.com/matlabcentral/answers/307465-place-array-in-a-matrix here.> ...

4 years ago | 1 answer | 0