photo

zongxian


Tianjin University

Last seen: 10 maanden ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Explorer
  • Thankful Level 2
  • Thankful Level 3

View badges

Feeds

View by

Question


How to keep more digits when use symbolic expressions
my codes is simple, syms x f(x)=0.123456789*x f(1) sympref('FloatingPointOutput', true); f(x)=0.123456789*x f(1) When us...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


Remove duplicate points by Uniquetol
I have some coordinates stored in a matrix, I only want to keep unique values within tolerance. Obviously, the values in the fi...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


Solve equations by fsolve and with input anonymous function format
By the help document of Matlab, the example of fsolve is: function F = root2d(x) F(1) = exp(-exp(-(x(1)+x(2)))) - x(2)*(1+x(1)...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How to modify the showing colorbar range?
External program will be created a image, for example image(rand(100,100)*10) colormap(rand(10,3)) I will add a colorbar by m...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


change parameter values in anonymous function
My problem is one function passing to me a Anonymous function handle, for example, f_handle = function1(a1,a2,....) % Assumin...

meer dan 4 jaar ago | 2 answers | 0

2

answers

Question


Problems of convert decimal number to a string
Now I want to convert a input decimal number (maybe a input number, not known) to a string, I try to use num2str and string func...

meer dan 4 jaar ago | 3 answers | 1

3

answers

Question


Iterate problem for a complex function and plot it.
Now I have a complex function, for example 1.8633 - 0.00576465 s1^3 + s1^2 (0.160853 - 0.050155 s2) - 1.20076 s2 + 0.161107 s2^...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


How to put 2D image in 3D space
I can plot some images one by one im1 = image(rand(100,100)*100) colormap('prism') im2 = image(rand(100,100)*100) colormap('...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Pre-define a group (plot) properties or passing a group properties in a function
When I want to plot a 2-D line plot, for example: plot(peaks,'Color','r','LineWidth',2,... 'MarkerSize',10,... 'Marke...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Why 0.35 divide 0.001 return double, and 0.34 divide 0.001 return int.
simple codes: >> 0.35/0.001 ans = 350.0000 and >> 0.34/0.001 ans = 340 I'm curious why this is. If use ...

meer dan 4 jaar ago | 3 answers | 0

3

answers