Multiplying individual columns of a matrix
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1182538/image.png)
I'm trying to multiply each individual row of ytrain(by the given values) and save it as a column in theta. When I do it individually(as you can see by the theta1, theta2, ext, below) it works fine. It creates 10 785x1 vectors. But doing it like this I keep getting error's. I just don't want to have 10 different lines for this, but I'm not sure what I'm doing wrong here. Any thoughts?
0 Comments
Answers (1)
See Also
Categories
Find more on Holidays / Seasons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!