已回答
Read a txt file
try this Dens1 = [A(:,1),9.11*A(:,2).^(1.326)]; fileID1=fopen('E1.txt','w'); % [n,~]=size(Dens1); for k=1:n b=fprintf(...

3 years 前 | 0

已回答
How to display correlation coefficents on plot?
you can try something like this: x = [0 0.000009 0.000018 0.000028 0.000037 0.000046 0.000055 0.000065 0.000074 0.000083 0.0000...

3 years 前 | 0

已回答
extracting value from a matrix
I think it is better to put the variable X as a string and from there start. for example: X=['1000000000000000000000000000000...

3 years 前 | 0

| 已接受

已回答
How to get Taylor polynomial for functions?
You can use a function that is in the MAThWORKS fileexchange (I put the link): str=input('Function? ','s'); %tray with: cos(x)...

3 years 前 | 0

| 已接受

已回答
Change the sign of a Vector over N intervals
Use something like this: Y=rand(1,20); d=[1:4,8:12,17:20]; Y(d)=-Y(d)

3 years 前 | 0

已回答
For loop only outputting the final value.
Try using something like this: t=linspace(0,3*pi,100) t=linspace(0,3*pi,100); for k=1:length(t) y = q2(t(k)); val...

3 years 前 | 0

已回答
Plotting log x and y
Why don't you treat like this: n = 30; x = 0.5; h(1) = 1; emin = 1; for i =1:n if i==1 h(1)=0.5; else ...

4 years 前 | 0

已解决


Mass Conversion 2

4 years 前

已解决


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

4 years 前

已解决


How many hours are there in a day in Italy?
Remember "European Summer Time"

4 years 前

已解决


Temperature Conversion 3

4 years 前

已解决


Temperature Conversion 2

4 years 前

已解决


Temperature Conversion 1

4 years 前

已解决


Simpsons's rule (but not Homer Simpson)
I wonder what Homer Simpson would have thought of Simpson's rule? Somehow I doubt his thoughts would have included the phrase Ne...

4 years 前

已解决


Total energy

4 years 前

已解决


Potential energy calculation

4 years 前

已解决


Kinetic energy calculation

4 years 前

已解决


Laws of motion 7

4 years 前

已解决


Laws of motion 6

4 years 前

已解决


Laws of motion 5

4 years 前

已解决


Laws of motion 4

4 years 前

已解决


Laws of motion 3

4 years 前

已解决


Laws of motion 2

4 years 前

已解决


Laws of motion 1

4 years 前

已回答
How can i draw the graph of this two functions using matlab
when i have this like problem i use this code: t=linspace(0,2*pi,50); f=((t>0)&(t<=1)).*2+((t>1)&(t<=pi/2)).*0.5.*t.^2+((t>pi...

4 years 前 | 0

已回答
Finding the length of square function
t2=t(find(diff(X)>0)); t1=t(find(diff(X)<0)); long_time=t2(2)-t1(2)

4 years 前 | 0

已回答
How to create a sine wave with variable frequency - Simulink
something like this: (?) t=linspace(0,2*pi,100); f=rand(1,100); y=sin(f.*t); plot(t,y)

4 years 前 | 0

已回答
Euler method returning error
maybe you need copy the function eulsys.m in your system. In this link you have a copy: http://macs.citadel.edu/chenm/344.dir/0...

4 years 前 | 0

已回答
how do i plot only certain part of cepstrum
KSSV ks suggests that you work with the index, here I show you an example of what KSSV mentions, x=linspace(0,10,100); y=x.^2;...

4 years 前 | 0

| 已接受

加载更多