Question

Optimization Code Gradient Descent

Kindly explain the theory behind this code... Mdl = fitcnb(Trainingset,KindsofLabels,'ClassNames',{'FirstChoice','SecondChoice'...

4 months ago | 1 answer | 0

Question

How can you deploy your app designer app on android and ios

I have designed an app on MATLAB app designer...how do I make it work as an app on Android and ios...can I also put it on play s...

7 months ago | 1 answer | 0

Question

Converting double to a handle

When I run the app designer, I keep getting the error Error setting property 'EditField' of class 'Name0fGui': Cannot convert ...

7 months ago | 1 answer | 0

Question

One Step Ahead Problem

Hello Friends, here is the problem I am facing. My first value for RPP is fixed and I can use that to calculate the initial Chan...

8 months ago | 0 answers | 0

Question

how to use predict and forecast

Hello Family, I am trying to predict the class of future dataset: Unfortunately my code is completely misclassifying one class ...

1 year ago | 0 answers | 0

Question

Higher dimensional space of data

Hello Family, How do I project a data on higher dimensional space...attached is a sample data

1 year ago | 1 answer | 0

Question

Data Classification in Matlab

When you have data that is very clustered as one but of about 3 or 5 class labels, how do you make the dataset a well spread dat...

1 year ago | 1 answer | 0

Question

How to find several slopes

Hello...imagine this: N=[1;2;3;4;5;6;7;8;9] B=[9;8;7;6;5;4;3;2;1] I need to find (change in N)/(Change in B) % for each ins...

1 year ago | 1 answer | 0

Question

data from figures without data

Hello family, how do I extract experimental values or data from a figure using matlab

1 year ago | 1 answer | 0

Question

Adding names to each row automatically

Imagine this A=[2;4;3;1;3;4;1;3]; B=[-1;3;-4;-2;8;-9;1;-5]; E=zeros(8,1); % such that for i=1:8 if B(i)<0 E(...

1 year ago | 1 answer | 0

Question

Placing a constant through a column

Imagine this A=(1:30)'; B=(31:60)'; C=(61:90)'; D=[A B C]; S = numel(B); xx = reshape(B(1:S - mod(S, 3)), 3, []); BB = ...

1 year ago | 1 answer | 0

Question

if statement inside for loop location issues

Imagine this A=[B C D E]; B=[1;2;3;1;9,0,4,5]; C=[1;2;3;2;3;2;1;2]; D=[8;3;5;6;1;2;7;4]; E=[-1;-1;-3;-2;-3;-1;-2;-3]; The ...

1 year ago | 1 answer | 0

Question

Finding location of minimum in 3d array

Consider this code Y = rand(1000,100) ; iwant = zeros(20,50,100) ; uwant=zeros(50,1,100); for i = 1:100 Y1 = Y(:,i) ;...

1 year ago | 1 answer | 0

Question

running a code on all columns

Consider, Y is a 1000 by 100 matrix...100 columns and 1000 rows Y1=Y(:,1); if I run this code S1 = numel(Y1); xx1 = reshape...

1 year ago | 1 answer | 0

Question

Two codes becoming one

Hello Family, Please I need to create three circles. Challenge One: Circle 1 is small and going round on the circumference of c...

1 year ago | 0 answers | 0

Question

Combining two codes as one

Hello Family, Please I need to create three circles. Challenge One: Circle 1 is small and going round on the circumference of c...

1 year ago | 0 answers | 0

Question

For loop within for loop

Please help me out. This code isn't working... qq=8:10008; for m = 1:9 for n = 1:10001 A(m, n) = (m+n)+qq; ...

1 year ago | 1 answer | 0

Question

making each column a stand alone variable

Let's assume A=[B C D] B=[1;2;3;4] C=[5;6;7;8] D=[0;4;3;2] E=A' how do I automatically make F=A(:,1) G=A(:,2) H=A(:,3)...

1 year ago | 1 answer | 0

Question

Group maths on for loop

I am trying to solve this omegas=0:1:10; RR=40:70; d=90; for i=1:length(omegas) for c=1:length(RR) gg=d+(omega...

1 year ago | 2 answers | 0

Question

Translation and simultaneous rotation

How do I translate and rotate an inscribed circle in Matlab.

1 year ago | 1 answer | 0

Answered

Circle rotating and whirling

the small circle moving around...how can I make it bigger

Circle rotating and whirling

the small circle moving around...how can I make it bigger

1 year ago | 0

Question

Excluding Constants from Consecutive numbers

Here is the scenario. A=[1;3;4;5;2;4;5;2;1;2;4;2;4;2;1;3;4;2;1;9]; B=[1;2;3;4;4;4;4;5;6;7;8;9;9;9;10;11;12;13;14;14]; C=[0;...

1 year ago | 1 answer | 0

Question

How to Make Circle Rotate and Revolve

Imagine two big circles....one inscribed in another which is a little bigger. How do I make the inner circle rotate about its ow...

1 year ago | 1 answer | 0

Question

Putting Consecutive numbers into variables

I data in this format a=[1;2;3;7;0;6;7;8;9;2;4;3;14;15;16;17;0;9;2]; what I need to accomplish is to put consecutive numbers...

1 year ago | 1 answer | 0