Community Profile

# Luqman Saleem

22 total contributions since 2017

View details...

Contributions in
View by

Question

Why do these two different way to find slope give different results?
I have the following data x = [14 18 22 26]; y = [8.5588 14.3430 21.6132 30.3740]; and I want to find the slop...

etwa ein Jahr ago | 1 answer | 0

### 1

Question

Finding derivative using FFT
I have an array of the following form: 1 -1.77000000000000e-15 - 0.726930931000000i 2 -0.211027375000000 + 1.2000000000000...

mehr als ein Jahr ago | 0 answers | 0

### 0

Question

How to calculate n-th eigenvector using eigs() function
I have a very big sparse matrix. I need all of its eigenvector and values. I can't store all of the eigenvector in one big matri...

mehr als ein Jahr ago | 1 answer | 0

### 1

Question

Can we create sparse matrix of symbolic variables?
How can I create sparse matrix of symbolic variables? I have a matrix which can have only and values where and are some r...

mehr als ein Jahr ago | 0 answers | 0

### 0

Question

Making a array that gives me this kind of data...?
I want to write a code with given xp, x1 and depth values that can give me value of y axis with given x. I want a code to w...

mehr als ein Jahr ago | 1 answer | 0

### 1

Question

How can I solve this equation under one constrain?
I want to solve the following equation: eqn = (A - B)/(q*(A - B)^2 + 1) + (q*A^3 - 2*q*A^2*B + q*A*B^2 + A)/((A - B)*(q*(A - B)...

mehr als ein Jahr ago | 0 answers | 0

### 0

Question

How can I check if a specific set of numbers are present in my array?
Let I have a 1D array A of real positive increasing integers of length N. I want to check if the elements in it have natural ord...

mehr als ein Jahr ago | 3 answers | 0

### 3

Question

How can I generate an array of binary data of this form?
The N is input. I want to write a code which gives array of dimension (combin X N) where combin is all possible combination su...

mehr als ein Jahr ago | 3 answers | 0

### 3

Question

Using Python functions in Matlab (eigsh function)
I want to use python scipy's eigsh() function in Matlab on Windows 10. I am using following code as an example A=[1 0; 0 1]; ...

mehr als ein Jahr ago | 1 answer | 1

### 1

Question

Running, giving input and handling output of a FORTRAN program in MATLAB.
I want to compile my Fortran code so that I will be able to give inputs from MATLAB and use its output in MATLAB. The specificat...

mehr als ein Jahr ago | 1 answer | 1

### 1

Question

How to calculate the derivative of any function f(x) at x=0 using finite difference method?
Let's say I have any unknown function and I know its value for some i.e. for x=1:10 is f(x)=[a b c d e f g h i j k l m] ...

mehr als ein Jahr ago | 1 answer | 0

### 1

Question

Finding distribution from few moments
I have first 4 moments of an unknown distribution and I want to approximate that unknown distribution. Is there any method in MA...

etwa 2 Jahre ago | 1 answer | 0

### 1

Question

How to save all workspace variables and figures in a folder?
Hello there, I want to write a code which will save all workspace variables and figures in separate folders. For example if...

mehr als 2 Jahre ago | 1 answer | 0

### 1

Question

Find mean and standard deviation of a plot.
I have a plot given below: <</matlabcentral/answers/uploaded_files/107883/untitled.jpg>> How can I find mean, standard dev...

mehr als 2 Jahre ago | 1 answer | 0

### 1

Question

How can I solve this ODE equation?
I have variable "Y" which is dependent on single variable "x". I want to solve following equation: d(Y(x))/dx==0 It looks ...

mehr als 2 Jahre ago | 0 answers | 0

### 0

Question

How can I plot 3d plot of this data?
I have an array of size 300x3. Three columns having data of say A,B and C variables such that range of A and B is between 0 and ...

mehr als 2 Jahre ago | 1 answer | 0

### 1

Question

Newton Raphson to solve set of equations
I have a set of equations: # cot(t_{ij}/2) = p* ([cot(k_i/2)]-[cot(k_j/2)]) / ([1+p]-[1-p]*cot(k_i/2)*cot(k_j/2)) # ...

mehr als 2 Jahre ago | 0 answers | 0

### 0

Question

How to solve these mathematical equations simultaneously?
I have three equation given as: # 2*cot (theta/2) = cot (k1/2) - cot (k2/2) # N*k1 = 2pi*lambda1 + theta # N*k2 = 2pi*l...

mehr als 2 Jahre ago | 1 answer | 0

### 1

Question

Convert binary to decimat
I have matrix |A| as: A= [11 101 110] 11, 101 and 110 here are in decimal system. But I want MATLAB to consider...

etwa 3 Jahre ago | 2 answers | 0

### 2

Question

How can I make a pattern of binary digits like this?
Let I have an integer |N| that gives sum of all bits in a given row (e.g. if a row is [0 0 1 1] than N=2) and another integer |M...

etwa 3 Jahre ago | 3 answers | 0

### 3

Question

How do I write code of stochastic model for this gene expression?
I’ve very little knowledge of Biology. I want to write code (in MATLAB) for “The repressilator” explained in very famous paper "...

mehr als 3 Jahre ago | 0 answers | 0