Community Profile

photo

abdul rehman


Last seen: 6 meses hace Con actividad desde 2020

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


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

6 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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.

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta