Community Profile

photo

abdul rehman


Last seen: 5 månader ago Active since 2020

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


empty double matrix in case of nul value
I am receiving the message "4x0 empty double matrix ". when the output is nul. I want it to be 0. when its empty code line: m...

5 månader ago | 1 answer | 0

1

answer

Question


multiple conditions in matrix
I am receiving this error while applying multipe conditions in matrix Code: C= [rand(100,1),randi([0,2],100,1),randi([0,2],...

5 månader ago | 1 answer | 0

1

answer

Question


add another column to the end of matrix
I want to add the results of "a" at the end of Carr_veh matrix. I mean in the 6th column the all results of a shouled be. Maybe ...

5 månader ago | 1 answer | 0

1

answer

Question


control the threshold of random numbers
I want to control the threshold of random numbers. In following code 1st column I want more on higer side e.g more (0.5 to 0.9...

5 månader ago | 2 answers | 0

2

answers

Question


storing variables in a table and retrieving them 1 by 1
I want to store multiple values of letiude(lat1,lat2) and longitude (lon1,lon2) in a table and retrieving them 1 by 1 for follow...

5 månader ago | 1 answer | 0

1

answer

Question


exponential to simplified form
I am getting the result in 1.2012e+03 form I want in 1,201.2 form

5 månader ago | 1 answer | 0

1

answer

Question


online Matlab giving suddenly started giving error
the code was working fine, suddenly it sarted giving error in online version, still working ok on desktop. code: Rep_veh =...

5 månader ago | 2 answers | 0

2

answers

Question


distance between two geo points , I am trying to convert Rhumb lines distance calculation in matlab but it is not work properly
I am trying to convert Rhumb lines distance calculation in matlab but it is not work properly can some body help : %rhumb line ...

5 månader ago | 0 answers | 0

0

answers

Question


condition on random generated data
abc_data = rand((randi(20)),2) on the above random data, I want to put a condition that if row value 1 > 0.5 and column value...

6 månader ago | 1 answer | 0

1

answer

Question


exponential function remove the error of division
help me to remove this error X1=30; Y1=20; X = 0:150; Y = Y1*exp(30/(X.^0.5)); plot(X,Y) Error using / Matrix dimens...

7 månader ago | 1 answer | 0

1

answer

Question


problem reading table from spreadsheet
When I use eg by matlab and load data by following everything works load patients whos e.g this code T = table(Age,Gender,H...

mer än ett år ago | 1 answer | 0

1

answer

Question


table row not selecting
what it wrong with this code its not working,

mer än ett år ago | 1 answer | 0

1

answer

Question


conditional selection on table
I want the conditional selecton of a row in a table where name is ali where name is ali and age is between 25 to 30 where nam...

mer än ett år ago | 1 answer | 0

1

answer

Question


I want to use dataset
which is best suitable file type I should use for my dataset with matlab. Curently my data is in excel sheet. I currently having...

mer än ett år ago | 1 answer | 0

1

answer

Question


retrieving data from excel sheet
how can I search a name in the excel sheet column, the code should return the 0 or 1, or found or not found.

mer än ett år ago | 1 answer | 0

1

answer

Question


two random number columns
I need to genarate a series of random number from 0 to 1 using rand(5,1). against same list I need a random list of 0 and1 in se...

mer än ett år ago | 1 answer | 0

1

answer

Question


random integer condition selection
r1 = rand((randi(10)),1); from these 10 random values how can I select only those that are > than 0.5

mer än ett år ago | 2 answers | 0

2

answers

Question


store all values of variable
---------- In follwing code how can I store all the values (1-100) of "mean" varialbe in its tabular file(excel type of file...

mer än ett år ago | 1 answer | 0

1

answer

Question


error in if condition
Why the code is giving error digits(2) a=vpa(rand(1)); if a>0.5 disp('the value is false') else disp('true') ...

mer än ett år ago | 0 answers | 0

0

answers

Question


why this code not displaying else part
the following code is only displaying the if part even if the value is less than 0.6 y = sprintf('%.1f',rand(1)) if y>0.6 ...

mer än ett år ago | 1 answer | 0

1

answer

Question


create a calculator using arithmetic operators
a=input(prompt,'s'); c=2; d=3; h=6; if a=='+' e=c+d; e else e=c-d; e end what is wrong with this a...

mer än ett år ago | 1 answer | 0

1

answer