Feeds
提问
for loops, how to see the effect of a parameter
Simplified version of moy code is somethig like this: theta=2; beta=8; W=30; bound=W./(theta+beta) step=bound/1...
7 years 前 | 1 个回答 | 0
1
个回答提问
how to highlight some lines in the mfile?
Is there any way to highlight lines or make some lines in different colors ?
10 years 前 | 2 个回答 | 0
2
个回答提问
How can I replace non positive elements of matrix with a certain number
For example A=[7 4 2 1 -0.2 -3] I want to get [7 4 2 0 0 ]
10 years 前 | 1 个回答 | 0
1
个回答提问
Make title of figure to be displayed in a line
I have this for the title: T=290; PL=101.235e3; n1=5e3; figure; title({'B vs. r @ T [C] =',num2str(T-273.15),'a...
10 years 前 | 1 个回答 | 0
1
个回答提问
How can i create a table
For example: a=2; b=6; c=;8 I would like to create a table like Times Frequency Value -------------------...
10 years 前 | 1 个回答 | 0
1
个回答提问
How can I find maximum before a certain element in my matrix
For example B=[5 8 5 2 6 9 10] min(B)=2 I am looking for maximum point before min(B), which is 8 (not maximum of B element...
10 years 前 | 3 个回答 | 0
3
个回答提问
Create a row matrix with different step size
I am looking for something like [1 2 3 4 100 150 200] 1:1:4 (step size 1) and the rest 100:50:200 (step size 50)
10 years 前 | 1 个回答 | 0
1
个回答提问
log plot with positive and negative data with negative power
Consider the followings: x=[1 2 3 4] y1=[1000, 50, -10, -1000] y2=[1e-1, 5e-3, -1e-3, -1e-1] Goal is to plot y vs....
10 years 前 | 1 个回答 | 0
1
个回答提问
fzero for f(x,y) where y is a m*m matrix
I know how to do it when yis a 1*m matrix, for example: f1 = @(y,x) y-x.^2; y=1:1:4; arrayfun(@(i) fzero(@(x) f1(y(...
10 years 前 | 1 个回答 | 0