Community Profile

photo

Nir Vaishnav


Last seen: 3 maanden ago Active since 2022

Statistics

  • Thankful Level 2

View badges

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

3 maanden ago | 1 answer | 0

1

answer

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 maanden ago | 1 answer | 0

1

answer

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 maanden ago | 1 answer | 0

1

answer

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 maanden ago | 2 answers | 0

2

answers

Question


Different dimension matrix addition
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 maanden ago | 1 answer | 0

1

answer

Question


Using "for" loop for summation of matrix product
I am using nested for loops to multiply matrices and do the summation of the same. But for Lk(k) variable its only taking the kt...

5 maanden ago | 1 answer | 0

1

answer