Community Profile

photo

Lily


Last seen: bijna 2 jaar ago Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


how to highlight some lines in the mfile?
Is there any way to highlight lines or make some lines in different colors ?

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


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 ]

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 9 jaar ago | 3 answers | 0

3

answers

Question


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)

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


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(...

bijna 9 jaar ago | 1 answer | 0

1

answer