Question

Could anyone help me to solve the issue in the following code

code: unused_rows=1:12 while ~isempty(unused_rows) rows_matrix=reshape(unused_rows,[],2) rows_matrix(:,end)=rows_matrix(end:...

8 dagen ago | 1 answer | 0

Question

could anyone help me to solve the issue with respect to the following code

code: x=[0 1 2 3 4 5 6 7 8 9 10] A = [0 0.62 0.85 0.86 0.87 0.88 0.89 0.90 0.91 0.92 0.93] B = [0 0.32 0.60 0.75 0.86 0.90 0....

11 dagen ago | 1 answer | 0

Question

Could anyone help me how to overcome the error

I am getting error stating Error using legend Unknown property: NumColumns. with respect to the command line legend({'y','z',...

11 dagen ago | 1 answer | 0

Question

could anyone help me how to solve the issue

I am getting the attached graph when i run the code. In graph i want to remove zero with respect to y axis where as the rest of...

12 dagen ago | 1 answer | 0

Question

Could anyone help me how to plot the graph for more than one variable.

code: x=[0.1 1 2 3 4] y=[0.05 0.06 0.06 0.06 0.06 ] z=[0.14 0.18 0.18 0.18 0.18] plot(x,y,'-*') plot(x,z,'-^') I want to p...

12 dagen ago | 1 answer | 0

Question

could anyone help me to solve the issue

I want to plot the graph with respect to the following code: x=1:10 for x=1:10 y=log(x) end plot (x,y,'*') When I run ...

12 dagen ago | 2 answers | 0

Question

Could anyone help me how to shuffle the numbers in each column

A=[3.8723 3.6040 3.3271 3.0534 2.8094 2.6242; 0 0 0 0 0 0; ...

28 dagen ago | 1 answer | 0

Question

Could anyone help me to display the non zero numbers with respect to each column

code: C =[ 0 254.1128 0 ; 233.3050 0 0 ; 0 0 79.3894]...

28 dagen ago | 1 answer | 0

Question

could anyone help me to solve the issue with respect to the code

code: A=1:7 B=length(A) idx=randperm(B,1) disp(idx) the above code run one time and it displays idx value. Could anyone h...

28 dagen ago | 3 answers | 0

Question

could anyone help me to solve the issue in the following code

code: particles=10; users=4; dimensions=2; for particle=1:particles clusters= randi(users,1); swarm_pos = rand(...

29 dagen ago | 0 answers | 0

Question

could anyone help me to solve the following issue in the code:

code: a=[ 3.9035 4.4602 4.6417 3.8581 4.0078; 4.2688 4.4651 3.8681 4.2601 3.8822; 4.6194 ...

ongeveer een maand ago | 0 answers | 0

Question

could anyone help me to solve the following issue

A=[4.7908 5.0104 5.1329 5.3186 5.3094 5.3070 5.4452 5.5001; 0.0958 0.0994 0 0 0...

ongeveer een maand ago | 2 answers | 0

Question

how to count the number of non zero elements present in each row and column.

If a=[3.6910 4.5873 0 0 0; 0 7.2707 0 0 3.7516; 0 0...

ongeveer een maand ago | 1 answer | 0

Question

could anyone help me how to randomly select the values.

I am having b= 1 3 4 5 8 9 10 11 13 15 I want to randomly select any 5 va...

ongeveer een maand ago | 1 answer | 0

Question

could anyone help me to solve the issue in the following code.

When i run the code it executes and gives me the result.But what i actually need is AA and BB should not contain any zeros. Cou...

ongeveer een maand ago | 0 answers | 0

Question

could anyone help me how to check the idx position containing value is not equal to zero

my code generates idx =[2 5 7 12 15] Before i want to proceed i need to check whether the above mentioned position contain zero...

ongeveer een maand ago | 2 answers | 0

Question

Could anyone help me how to randomly display the values in the selected places

Could anyone help me how to randomly display the values in any of the selected places 1 3 4 5 8 ...

ongeveer een maand ago | 1 answer | 0

Question

could anyone help me to solve the issue

I am having a matrix size(4,8) which is having a combination of zero and non zero values. could any one help me how to display...

ongeveer een maand ago | 1 answer | 0

Question

Could anyone help me to solve the issue in the following code:

code: a=[4.1288 5.2574 0 4.9757 3.0069; 0 3.7672 4.7411 3.4989 0; 4.7132 ...

ongeveer een maand ago | 0 answers | 0

Question

Could anyone help me to solve the following issue.

I am trying from today morning but unable to get the desired result. I am having matrix a =[ 4.7908 5.0104 5.1329 5.3...

ongeveer een maand ago | 0 answers | 0

Question

Could anyone help me how to solve the following issue with respect to the following code

code: a= [4.7908 5.0104 5.1329 5.3186 5.3094 5.3070 5.4452 5.5001; 0.0958 0.0994 0 ...

ongeveer een maand ago | 1 answer | 0

Question

Could anyone help me to solve the following issue

Code: a = [1 2 3 4 5; 6 7 8 9 10] a_rand = a(randperm(length(a))) When i run the above two commands it executes and giv...

ongeveer een maand ago | 2 answers | 0

Question

Could anyone help me how to display the top three highest values in each column and display the other values to be zero.

I am having a matrix A= [2.3433 2.8950 2.9967 3.8753 3.9190 3.9104 3.9563 3.9525; 0.5167 0.4839 ...

ongeveer een maand ago | 2 answers | 0

Question

could anyone help me how to select four maximum values of each row in a matrix size(10,8)

I am having a matrix of size(10,8) (% 10 rows and 8 columns) I want to select 4 maximum values from each row by having the resu...

ongeveer 2 maanden ago | 2 answers | 0

Question

Could anyone help me how to solve the following issue

i am having the matrixA= [3.1110 3.5665 3.5816 3.6923 4.2398 4.3484 4.3399 4.3447; 0.7787 0.5452 ...

ongeveer 2 maanden ago | 2 answers | 0

Question

how to generate numbers from 1 to 5 with respect to 1 row versus 10 columns.

could anyone help me how to generate numbers from 1 to 5 repeatedly in a randon manner with respect to 1 row versus 10 columns.

ongeveer 2 maanden ago | 1 answer | 0

Question

Could anyone help me how to solve the following issue.

I am using the command line randi([1,5], 1, 10) to generate numbers with respect to single row versus 10 columns. when i ru...

ongeveer 2 maanden ago | 3 answers | 0

Question

how to remove 0 while plotting the graph.

I want to plot the graph such that the x axis and y axis needs to start with 1. I tried with the following command xlim([1,12]...

ongeveer 2 maanden ago | 0 answers | 0

Question

could anyone help me why the command line execution is getting displayed in the command window while having semicolon at the end of the statement.

I have run my matlab code having semicolon at the end of each matlab command. If i used semicolon that command execution should...

2 maanden ago | 2 answers | 0

Question

could anyone help me to solve the following issue.

code: A=partitions(4,3) total_number_of_partitions = length(A) idx=randperm(total_number_of_partitions,1) ...

2 maanden ago | 0 answers | 0