Feeds
提问
Wrong legend in plot
Hi all, I am plotting in a logarithmic scale. I get the plot but when I add the legend its wrong. semilogy(tT,PT005...
8 years 前 | 2 个回答 | 0
2
个回答提问
Converting a symbolic matrix to a normal matrix
Say I have this from this <https://uk.mathworks.com/help/symbolic/jacobian.html link>. syms x y z jacobian([x*y*z, y^2,...
8 years 前 | 2 个回答 | 0
2
个回答提问
Using function any with multiple conditions
Say I have A= [5 11 10 8]; I want to check if # there are any values greater than 9 but not less than 6 # there are any...
8 years 前 | 1 个回答 | 0
1
个回答提问
Setting limits using If statements
Consider a random matrix: A=[1.8 2.6 3.4 4.0 7.2] [0.5 0.4 0.3 0.2 0.1] I want to write a code that scans through ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Find n-number of solutions that satisfy x+y+z=1
Hello, How could one generate n random points (x,y,z) that satisfy the equation x+y+z=1 ? Thanks
8 years 前 | 3 个回答 | 0
3
个回答提问
How do I multiply matrices stored in an nx1 cell?
Lets say that I have this code: n = 100; %number of cells Mcell = cell(n, 1); %Matrix in corresponding ce...
9 years 前 | 1 个回答 | 0
1
个回答提问
Warning: Matrix is close to singular or badly scaled.
Hello I am playing around with a code for that has been uploaded by Biswa Datta <https://uk.mathworks.com/matlabcentral/fileexch...
9 years 前 | 2 个回答 | 1
2
个回答提问
Cell manipulation (swapping, combining and converting to an array)
First assume that we have this matrix [ 9 -2 0] A= [-2 9 -2] [ 0 -2 9] The goal is to store all the non-z...
9 years 前 | 2 个回答 | 0
2
个回答提问
Extracting non-zero values from a matrix and storing its row,column index and its associated value.
Could anyone help me build and correct my code which aims to only save the non-zero elements of an arbitrary square matrix and i...
9 years 前 | 1 个回答 | 0
