Release of MATLAB MCP Core Server v0.6.0
MATLAB MCP Core Server v0.6.0 has been released onGitHub: https://github.com/matlab/matlab-mcp-core-server/releases/tag/v0.6.0
Release highlights:
- New cross-platform MCP Bundle; one-click installation in Claude Desktop
Enhancements:
- Provide structured output from check_matlab_code and additional information for MATLAB R2022b onwards
- Made project_path optional in evaluate_matlab_code tool for simpler tool calls
- Enhanced detect_matlab_toolboxes output to include product version
Bug fixes:
- Updated MCP Go SDK dependency to address CVE.
We encourage you to try this repository and provide feedback. If you encounter a technical issue or have an enhancement request, create an issue https://github.com/matlab/matlab-mcp-core-server/issues
1 Comment
Time Descending1. Bisection Method
clc;
clear;
f = @(x) x^3 - x - 2; % function
a = 1; % lower limit
b = 2; % upper limit
tol = 0.0001;
while (b - a)/2 > tol
c = (a + b)/2;
if f(c) == 0
break
elseif f(a)*f(c) < 0
b = c;
else
a = c;
end
end
root = (a + b)/2
2. Newton Method
clc;
clear;
f = @(x) x^3 - x - 2;
df = @(x) 3*x^2 - 1;
x0 = 1; % initial guess
tol = 0.0001;
while true
x1 = x0 - f(x0)/df(x0);
if abs(x1 - x0) < tol
break
end
x0 = x1;
end
root = x1
3. Secant Method
clc;
clear;
f = @(x) x^3 - x - 2;
x0 = 1;
x1 = 2;
tol = 0.0001;
while abs(x1 - x0) > tol
x2 = x1 - (f(x1)*(x1 - x0))/(f(x1) - f(x0));
x0 = x1;
x1 = x2;
end
root = x2
4. Regula Falsi Method
clc;
clear;
f = @(x) x^3 - x - 2;
a = 1;
b = 2;
tol = 0.0001;
while true
c = (a*f(b) - b*f(a)) / (f(b) - f(a));
if abs(f(c)) < tol
break
elseif f(a)*f(c) < 0
b = c;
else
a = c;
end
end
root = c
5. Fixed Point Method
clc;
clear;
g = @(x) (x + 2)^(1/3); % rearranged equation
x0 = 1;
tol = 0.0001;
while true
x1 = g(x0);
if abs(x1 - x0) < tol
break
end
x0 = x1;
end
root = x1
Sign in to participate