How to perform pinv for each column in a complete matrix?

A=[1 5 9;2 6 10;3 7 11;4 8 12]
B = pinv(A);
I want to perform pinv(A) to each column.
Can some help me? No loops please.

1 Comment

Is there a valid reason why you wish to do that? It is my guess, based on your request, you you don't understand PINV or what it does, based on your question. What will you do with the result and why do you think it will help you?

Answers (0)

This question is closed.

Products

Release

R2021b

Closed:

on 24 Nov 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!