abdul rehman
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
exponential to simplified form
I am getting the result in 1.2012e+03 form I want in 1,201.2 form
3 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0