photo

abdul rehman


Last seen: 1 year ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


hash function giving error
the code h = keyHash([1 2 3 4]) error Unrecognized function or variable 'keyHash'. I have copied the code from matlab site b...

1 year ago | 1 answer | 0

1

answer

Question


save multiple random numbers on different sheet of execl
%% I want to replace data with data1, actually want to controll random number for each column in every sheet VariableNames =...

3 years ago | 1 answer | 0

1

answer

Question


reading data from excel text not displayed
I want to read everything only but following code is showing 3 tables: number, text and everything. If i use only xlsread it doe...

3 years ago | 1 answer | 0

1

answer

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...

3 years 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],...

3 years 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 ...

3 years 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...

3 years 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...

3 years 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

3 years 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 =...

3 years 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 ...

3 years 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...

3 years 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...

3 years 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...

4 years ago | 1 answer | 0

1

answer

Question


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

4 years 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...

4 years 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...

4 years 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.

4 years 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...

4 years 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

4 years 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...

4 years 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') ...

4 years 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 ...

4 years 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...

4 years ago | 1 answer | 0

1

answer