Answered
PCA and Fisher Linear Discreminant
PCA: If you have "n" samples, each with "d" features. You want a smaller set of k features (< d) that preserves as much total v...

6 months ago | 0

Answered
Competitive Layer Network (newc) not learning
Hi Oliver, This was a known bug in R2010b and R2011a that prevented competlayer / newc networks from updating their weights. Th...

6 months ago | 0

Answered
i can't select msg type to "sensor_msgs/Imagae" in ROS2 Subscribe block.
Hi @진호, I tried this on the same MATLAB version as yours and I am able to change the "Message type" to "sensor_msgs/Image" in...

6 months ago | 0

Answered
Launch a desktop layout programmatically
Hi Matt, As I understand from your question, you want to launch a saved desktop layout programmatically. For that you can run...

6 months ago | 2

| accepted

Answered
Genetic Algorithms implementation
Hi, Your have to (1) choose an encoding that can express the kinds of memory‑based strategies (TitforTat, Grim, etc.), and (2) ...

6 months ago | 0

Answered
Optimization or Global Oprimization toolbox for semidefinite programming
Hi Frogy, The Optimization Toolbox or Global Optimization Toolbox do not have a built-in solver that accepts a positive - semid...

6 months ago | 0

Answered
Why does the current in my battery simulation appear as negative?
Hi Zachary, Current appears as negative because of the signing convention, so there is nothing wrong in your model. For eve...

6 months ago | 0

| accepted

Answered
keep msb vs keep lsb maths(fixed point toolbox)
Hi, In MATLAB’s Fixed‑point designer the terms Keep MSB (keep most‑significant bits) and Keep LSB (keep least‑significant bits)...

6 months ago | 0

Answered
Default Hyperlink display for getReport
Hi, As far as I understand your question, you want to configure the default value of 'hlink' without changing the flag in 'getR...

6 months ago | 1

Answered
How to compute dq current in a delta-wound motor?
Hi, In a 3-phase circuit, the relationship between a line current and phase current is: iLine = (√3)*iPhase + 30° phase displa...

6 months ago | 0

Answered
How to call .dll without header file
Hi Kiruthika, Loadlibrary is only for native (un‑managed) DLLs. A DLL that comes from C# is managed code—a .NET assembly—so you...

6 months ago | 0

Answered
How to do multiple regression where all dependent and independent variables have uncertainties?
Hi, A convenient implementation for this case can be the File‑Exchange package “Total Least Squares with mixed and/or weighted ...

6 months ago | 0

Answered
can't use py.module inside a matlab code compiled for python
Hi Omar, Please refer to this MATLAB answer: https://www.mathworks.com/matlabcentral/answers/2176902-how-to-access-python-e...

6 months ago | 0

Answered
How to access Python enum in Matlab
Hi Philipp, As I have limited information about your code and code files, it will be difficult to give an exact solution ence y...

6 months ago | 0

Answered
Current waveform difference before and after distributed parameters line
Hi Abdul, If you are simulating on the transmission line itself, it is correct to use the 3-phase measurement block on the left...

6 months ago | 0

| accepted

Answered
Error msg: Undefined function or variable 'optimproblem'. Error in optimize_plant_operation (line 6) prob = optimproblem('ObjectiveSense', 'maximize');
Hi @Paul, The function "optimproblem" was introduced in R2017b, hence to use this function you will have to upgrade to a higher...

6 months ago | 0

Answered
Can a cell array be training input for a neural network?
Hi, You can use cell arrays, but you need to convert them into one of the formats which MATLAB's training functions will expect...

6 months ago | 0

Answered
Capabilities of mass action kinetics
Hi Arun, You can refer to MATLAB's "SimBiology Model Builder" which can be found in the "Apps" tab. You can sketch an arbitrar...

6 months ago | 1

Answered
How to use Line Spectral Pairs in matlab?
To implement line spectral pairs, you can use MATLAB's "Signal Processing Toolbox". You can use the function "poly2lsf" . This f...

6 months ago | 0

Answered
how to use visqol and stoi function in matlab online?
Hi Pavlo, To use functions like "visqol" and "stoi" which are a part of the "Audio Toolbox", you may need to first check if the...

6 months ago | 1

| accepted

Answered
Matlab code of the CIDP protocol for UWSN
Hi Minh, I can give you a generic idea on how to get started on CIDP protocol since you have not provided specific details. ...

7 months ago | 0

Answered
matlab code for entropy based local binary pattern
Hi Annie, To get started you can follow the below steps: Preprocess your image by converting to grayscale and then perforn n...

7 months ago | 0

Answered
How to find high contrast objects in image?
Hi Jakub, The contrast ratio is the absolute difference between the center pixel and the mean of its 8 neighbors divided by the...

7 months ago | 0

Answered
I am trying to find each particle area and each particle intensity through matlab.
Hi Tharun, To measure particle area and total intensity you can follow the below steps: Load your image into MATLAB using 'imr...

7 months ago | 0

Answered
Diff does not work with non trivial expression with vectors
Hi @GIOSUÉ, Mathematically, the two expressions are identical: row1∗(row2⊤+col)  =  row1∗row2⊤  +  row1∗col However, the symb...

7 months ago | 0

Answered
How to export data logging in Simcape simulation by second?
Hi Thanh, Missing data points can be due to using a "variable‐step solver" due to which Simulink only saves points at the time ...

7 months ago | 0

Answered
what are scores in PCA
Hi Nikos, In MATLAB, when you perform Principal Component Analysis using the [pca] function, you call: [coeff, score, latent, ...

7 months ago | 0

Answered
How to create polygonal mesh of a moving object in an image stack
Hi Rom, You can stack your individual images(slices) along the 3rd dimension. If you already have the 3D volume then skip this...

7 months ago | 0

Answered
How to change the colour and font size of uifigure name?
Hi Lee, @DGM is correct. The title bar’s appearance—font size, color, alignment, etc. is controlled by the operating system’s w...

7 months ago | 0

| accepted

Answered
can a function be made to be called from any directory?
Hi Hxen, If you are referring to MATLAB custom functions be able to be called from anywhere, the key is to place your '.m' file...

7 months ago | 0

| accepted

Load more