代码搜索:Problem
找到约 10,000 项符合「Problem」的源代码
代码结果 10,000
www.eeworm.com/read/306478/13744605
m ip_07_11.m
% MATLAB script for Illustrative Problem 11, Chapter 7
clear
echo on
num=[0.01 1];
den=[1 1.01 1];
[a,b,c,d]=tf2ss(num,den);
dt=0.01;
u=ones(1,2000);
x=zeros(2,2001);
for i=1:2000
x(:,i+1)
www.eeworm.com/read/306478/13744648
m ip_04_04.m
% MATLAB script for Illustrative Problem 4.4.
clear
echo on ;
a=[-10,-5,-4,-2,0,1,3,5,10];
for i=1:length(a)-1
y(i)=centroid('normal',a(i),a(i+1),0.001,0,1);
echo off ;
end
www.eeworm.com/read/306162/13751417
cpp debugging01.cpp
// Debugging problem
//根据输入x和y的大小关系来求z的值。
int main()
{
int x;
int y;
int z;
cout
www.eeworm.com/read/305020/13779788
c 2153.c
/*
<mark>Problem</mark> Description
在美丽的HDU,有一名大三的同学,他的速度是众所周知的,跑100米仅仅用了2秒47,
在他跑步过程中会留下残影的哎,大家很想知道他是谁了吧,他叫仙人球,
既然名字这样了,于是他的思想是单一的,他总是喜欢从一点出发,经过3次转折(
每次向右转90°),回到出发点,而且呢,他每次转折前总是跑相同长度的路程,
所以很多人都想知道如果用‘1’算他跑 ...
www.eeworm.com/read/304881/13784515
m ip_01_01.m
% MATLAB script for Illustrative Problem 1, Chapter 1.
n=[-20:1:20];
x=abs(sinc(n/2));
stem(n,x);
www.eeworm.com/read/304373/13795411
m supcon.m
function sc = supcon(P,M)
% @MSDP/SUPCON - Measure support constraints of a moment SDP problem
%
% Given a moment SDP problem P (class MSDP) and a measure M (class MEAS)
% previously defined by MDEF,
www.eeworm.com/read/304373/13795412
m msol.m
function varargout = msol(P,options)
% @MSDP/MSOL - Solve moment SDP problem
%
% Given a moment SDP problem P (class MSDP) previously defined by MSDP,
% the instruction
%
% [STATUS,OBJ,M] = MSOL(P
www.eeworm.com/read/304373/13795465
m gloptipolydemo.m
clc
echo on
% Short demo of Gloptipoly 3
%
% Consider the classical problem of minimizing globally the
% two-dimensional six-hump camel back function
%
% min g0(x) = 4x1^2+x1x2-4x2^2-2.1x1^4+4x2^4+x1
www.eeworm.com/read/303558/13812549
m il4_8fun.m
% The function needed in Illustrative Problem 8, Chapter 4.
function f=il4_8fun(x,p)
f=1/sqrt(2*pi)*exp((-(x-p).^2)/2).*log2(2./(1+exp(-2*x.*p)));
www.eeworm.com/read/303558/13812552
m ip_01_01.m
% MATLAB script for Illustrative Problem 1, Chapter 1.
clear
n=[-20:1:20];
x=abs(sinc(n/2));
stem(n,x);