Answered
how to debug s functions in Matlab
Debugging on S-functions can be done either in Simulink or using a third party software. The documentation on how to debug an ...

6 years ago | 0

Answered
Create daq session for two vendors at the same time
Instead of creating a session for two vendors at a time, you can create a session for one device and then add a channel to that ...

6 years ago | 0

Answered
How to trigger alarm once even if all 5 functions detect defects?
Try using a Boolean variable which acts as a flag and set it to 1 only when a defect is detected. After performing all five chec...

6 years ago | 0

Answered
modify the audio gain of a specific frequency
firls function of Signal Processing Toolbox can be used to create filters in matlab. The documentation for firls function can ...

6 years ago | 0

| accepted

Answered
How can I perform FEA in Matlab on a composite material?
‘structuralProperties’ can be used to assign properties to a structural model. In order to create a geometry with parts that h...

6 years ago | 0

Answered
Error running Matlab code in java intellij
In order to open a file in ‘intellij’, the folder in which the file is present should be loaded in the project on which you are ...

6 years ago | 0

Answered
Appdesigner: How can I modify Column Header Properties ?
Currently this feature is not available in MATLAB. We have brought this isuue to the view of concerned persons and this might be...

6 years ago | 2

| accepted

Answered
Processing of a 2D FFT image (matrix) - calculate periodcity from image
If you know the range where the ring may lie you can use “imfindcircles” function from image processing toolbox to know the cent...

6 years ago | 0

Answered
Implement Regression models in real systems
‘Machine learning and statistics’ toolbox provides tools to generate code for enterprise and embedded deployment. For more inf...

6 years ago | 0

| accepted

Answered
What is the normalization parameter for when using cross-entropy as a performance function of a patternnet?
‘performParam.normalization’ parameter is designed to be used with any neural network. Setting its value to ‘standard’ results i...

6 years ago | 0

Answered
Code Generation for Deep Learning Networks with ARM Compute Library_Help
Your code seems fine and should work properly if you have the ‘MATLAB Support Package for Raspberry Pi Hardware’. Use the code...

6 years ago | 0

| accepted

Answered
HPC cluster with exceed on demand visualization tool
If your matlab code is in the file ‘myScript.m’, you might use a job submissions script like: #!/bin/bash #SBATCH -t 2:00...

6 years ago | 0

Answered
How to Stop Autosaving
You can unset the "Automatic file changes" option for saving whenever you click away from the file in the Editor/Debugger sectio...

6 years ago | 1

Answered
neuralnet function not working with more than one input
neuralnet cannot be used to obtain NARX model in your case as you have multiple number of inputs. narxnet can be used to obtai...

6 years ago | 0

| accepted

Answered
inverse of a subset of a matrix
As 28 is not a multiple of 3 I am assuming that you are looking to invert 9 3x3 sub matrices I.e., till row 27 The following c...

6 years ago | 0

| accepted

Answered
labelling multiple images at once by rgb
rgb2ind(RGB,Q) can be used to index an RGB image with Q colors. The documentation for rgb2ind can be found here You can r...

6 years ago | 0

Answered
mean squared logarithmic error loss function
It is already answered here

6 years ago | 0

| accepted

Answered
Define early stopping criterion for number of training epochs
Hi Eleanor, Training a neural network can be terminated by setting the values of the following parameters: min_grad Minim...

6 years ago | 1

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

6 years ago

Solved


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

6 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

6 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

6 years ago

Solved


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

6 years ago

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

6 years ago

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

6 years ago

Solved


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

6 years ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

6 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

6 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

6 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

6 years ago

Load more