Answered
can anyone help me in this ?
Use nested loops and conditional statements to achieve your pattern. You can look at the below pseudo code for your reference....

11 months ago | 0

Answered
Loop through the DNA array and record all of the locations of the triplets (codons): ‘AAA’, ‘ATC’ and ‘CGG’.
One workaround is to iterate over the sequence and skip the next two characters whenever we find a codon. You can look at the b...

11 months ago | 0

| accepted

Answered
how to select a row of data from a csv file that is imported into Matlab?
Here are the few hints. Use readtable function to read csv file into matlab as a table. Get the required column of the table u...

11 months ago | 0

| accepted

Answered
Find distance between vectors given in a cell array
Below are the few steps which may help you. Since pdist() accepts matrix as an argument, you should convert cell array to matri...

11 months ago | 0

Answered
Matlab Controlling Core Individually
You can leverage the concept of CPU affinity. CPU affinity makes an application (MATLAB) to bind to the specified core only. Imp...

11 months ago | 0

Answered
creating a coefficient matrix for a polynomial
Adding to Walter comment you can also try creating required matrix leveraging syms , coeffs , diff.

1 year ago | 0

| accepted

Answered
Add velocity-colorbar to spectrogram
You can use colorbar to display colorbar (color scale). Colorbars display the current colormap and indicate the mapping of data ...

1 year ago | 0

| accepted

Answered
Mathematical formulation of periodogram built-in function
You can find the required information here.

1 year ago | 0

| accepted

Answered
Dynamic regular expression replacement: token number
You can use something similar to below code to simulate the required behavior. str='(first matched_token)_fjezhfjksdhf_(second ...

1 year ago | 0

Answered
How to highlight a certain pixel when using the imagesc command?
You can use something similar to below code. imagesc(floor(rand(3,7)*10)) hold on plot([2.5,2.5,3.5,3.5,2.5],[3.5,2.5,2.5,3.5...

1 year ago | 1

| accepted

Answered
how to plot mse against hidden neurons
Mean-squared error(mse) takes actual and expected values as arguments. Since for each hidden neuron expected(ground truth)behav...

1 year ago | 0

Answered
listener object not destroyed
References: https://www.mathworks.com/help/matlab/ref/handle.addlistener.html https://www.mathworks.com/help/matlab/ref/handle....

1 year ago | 0

Answered
[Help] with randomizing a Permutation
You can use below function to achieve behavior you need. function sans = getIds() emotions = zeros(1,144); emotions=s...

1 year ago | 0

Answered
Problem in uninstalling Matlab R2018a / Running session
I am assuming you are using matlab on windows machine. There might be chance that some threads of matlab are still running in ba...

1 year ago | 0