Community Profile

# Nir Vaishnav

Last seen: 3 months ago Active since 2022

#### Content Feed

View by

Question

how to multiply each elements of the cell with a scalar quantity?
for i=1:4 rate_k=@(pt,sigma)Rate(W,I,B,B1,pt,sigma,R1,invs1,i); OptP{i} =@(sigma)vpa(solve(rate_k(pt,sigma)==rate_th,pt));...

4 months ago | 1 answer | 0

### 1

Question

I would like some help with coverting a matrix that is generated randomly to a binary matrix
This is a distance matrix which generates random number for every iteration. Is it possible to generate a binary matrix which ha...

4 months ago | 1 answer | 0

### 1

Question

I want to create a binary matrix with a variable dimensions
I want to create a binary matrix of dimension k x M where k and M are user defined.(k is the number of rows and M is the number ...

4 months ago | 1 answer | 0

### 1

Question

I have a 4 Dimensional Matrix and i want to get its transpose
val(:,:,1,1) = -0.0011 + 0.0005i -0.0001 - 0.0006i 0.0005 - 0.0004i 0.0004 - 0.0005i 0.0001 - 0.0002i 0.0005 - 0...

5 months ago | 2 answers | 0

### 2

Question

I have a 2×2 matrix and i want to add it to a 4×4 matrix. How shall i proceed to do this?

5 months ago | 1 answer | 0