Question

runs of 1s and 2s in a long vector

i have a long vector which has a whole bunch of 1s and 2s.. I need to find how many such strings of 1s and 2s are there. Is ther...

3 years ago | 1 answer | 0

Question

Feed forward neural net using trainbr

when I use the alogorithm trainlm i get 4 subplots when I do "plotregression". However when I use trainbr alogorithm, i see only...

3 years ago | 0 answers | 0

Question

Errors using functions like initp

Just downloaded some neural nets example files. I get errors like "initp" function not found etc. Is that supposed to be a par...

3 years ago | 1 answer | 0

Question

simple neural net question.

I have 1000 data sets. Inputs contain 8 variables. and there are 6 responses of which 4 are important to me. What I am wondering...

3 years ago | 0 answers | 0

Question

Matrix number of rows reduction to a smaller number of rows.

I have a matrix for example Nrow, by 6 let us say. The first column has numbers 1 thru n which is less than Nrow.. so some rows ...

3 years ago | 1 answer | 0

Question

Print Table to a File.

I have this code VarNames={'Col1', 'Col2'}; RowNames={'Row1', 'Row2'}; A = [1 2;3 5]; Ta = array2table(A,'Variable...

3 years ago | 1 answer | 0

Question

How do I initialize an array of unknown dimension?

I have a vector whose length is not known apriori. The programs gives a warning with red wiggles underneath indicating that the ...

4 years ago | 1 answer | 1

Question

Matlab floating point precision.

My question pertains to matlab precision. I encountered this problem I have a long time series of 549354 record. and I am looki...

4 years ago | 1 answer | 0

Question

how to print E formated numbers.

I have numbers such as 0.1032E-02 (say) If I read this as x = 0.1032E-02 and save it to a text file using fopen, and fprintf f...

4 years ago | 1 answer | 0

Answered

Annotating an Arrow with in a plot.

the link helped me solve the problem partially. When I click on maximize the window with plot tools, all the arrow positions ar...

Annotating an Arrow with in a plot.

the link helped me solve the problem partially. When I click on maximize the window with plot tools, all the arrow positions ar...

4 years ago | 0

Question

Annotating an Arrow with in a plot.

I am trying to use the annotation function to show an arrow on my plot like ar = annotation('arrow'..) I know the location wher...

4 years ago | 3 answers | 0

Question

Where to find the image packages of folder so that we can try some transfer learning NEURAL NET.

I have gone through the video, transfer nets in 10 lines of code. I wanted to try but the images and the folders that were used...

4 years ago | 1 answer | 0

Question

large excel file reading.

my excel file has 61 columns and 180,000 rows or so. It is taking forever to read it. i am using Readtable with appropriate rang...

4 years ago | 1 answer | 0

Question

Where can I find the data used for Deeplearning training course, specially the flowers data

I have gone through the course Deep Learning. Now I like to import some of the data that was used during the training. Specially...

4 years ago | 1 answer | 0

Question

question on tabbed plots.

i have three tabs in my figure... something like H1 = uitab(tgp,'Title','Micrograph'); H2 = uitab(tgp,'Title','Histograms')...

4 years ago | 1 answer | 0

Question

vectorizing solution using fzero

i have equations of the form f(x,X)=0; where X is a column vector of size N. i can solve using for example ...

4 years ago | 2 answers | 0

Question

Clean solution to shrink matrices

I have pre-allocated a large Matrix X = (80000,8). for e.g zeros(80000,8); This I did for speed. After several operations I onl...

4 years ago | 2 answers | 0

Question

Subplots within a GUI figure

I am developing a GUI using GUIDE. I have three axes defined in GUI. two of them I filled with two plots. The third axes, howeve...

5 years ago | 2 answers | 0

Question

Using Stop button in GUI and Optimization

I developed a GUI and I have included a Stop button and its callback I have declared a global variable "StopOptim" and gave it a...

5 years ago | 1 answer | 0

Question

how chose a number with unequal probability?

My question is if I use randi function and say between 1 : 100, it chooses randomly a number giving equal probability to all num...

5 years ago | 2 answers | 0

Question

Question related to vectorized matrix operation.

i have two matrices A and B; A is say (Nx3) where N is rather large like 1000+... B is (nx2) where n is rather smaller of the o...

5 years ago | 2 answers | 0

Question

Matrix manipulation and replacements

I have a large matrix A (size 116x116) and a small matrix B (64x64)... in B i only have all 2s or 5s ... In A i have 2s 3s e...

5 years ago | 2 answers | 0

Question

I have a 2 D matrix where each column is a set of data that is Weibull distributed. I want to use wblfit to get the parameters for each column of data without using for loop.

for e.g. I have X =[20,5}. Basically i have 5 data sets stacked up. Can do something like [p] = wblfit(X)... and p should conta...

5 years ago | 1 answer | 0

Question

Stand alone apps for MAC

I compiled a stand alone App for MAC. I installed it and tried to run. The application involves reading of some input data from ...

5 years ago | 1 answer | 0

Question

how to change cursor to hour glass

in a gui while some operation is going on I want to show an hour glass to indicate "work in progress". How do I do it.

5 years ago | 1 answer | 0

Question

i have Grid points and its coordinate x, y, z. I want to find out Grid point given x, y and z.

I have a set of Grid Points 1 thru N, and each has coordinated x, y and z. Now I like to know how to get the Grid point numbe...

5 years ago | 1 answer | 0

Question

When I write to excel some of my data in two sheets with different names, it is always including a blank first sheet "sheet1" followed by my sheets

I am creating two excel sheets with different names and writing data into those sheets. However, the created excel book has thre...

5 years ago | 1 answer | 0

Question

Intersection of a Rectangle and a circle

I have a rectangular domain, and this domain contains several non intersecting circles inside. Say 4 random circles in side a re...

6 years ago | 1 answer | 0

Question

Guide Object Browser Unused Objects

I have GUI developed over a period of time and is working fine. In the process I had introduced a few edit boxes and later remov...

6 years ago | 2 answers | 0

Question

General Beta distribution with in arbitrary limits?

I want to generate Beta Random numbers in interval 2 to 5; I want it to have parameters alpha = 3; and beta=2; and I want it to ...

6 years ago | 1 answer | 0