小编the*_*guy的帖子

如何为Visual Studio Express 2015删除Blend?

我最近试图下载Visual Studio Express,我错误地下载了Blend for Visual Studio Express 2015,它似乎适用于Windows应用程序.然后我下载了正确的Visual Studio Express for Desktop.它现在占用了我的甜蜜SSD存储器的11 GB(尽管其中一些可能也被Desktop one使用).

我怎样才能完全删除Blend for VS 2015,因为控制面板中似乎没有卸载(我猜我会强行删除所有内容并重新安装桌面).

visual-studio visual-studio-2015

5
推荐指数
1
解决办法
3680
查看次数

Matlab代码不会绘制部分函数

我最近尝试在流体问题集中为一个教程问题绘制一些velocicty字段.我写了以下Matlab代码

clear;

h_theta_multiple=0.01;
h_theta=h_theta_multiple*2*pi;
h_rho=0.1;

[theta,rho] = meshgrid(0:h_theta:2*pi,0:h_rho:5);
[x1,x2] = pol2cart(theta,rho);

N=[1 2 3 -1 -2 -3];

figure
for i=1:length(N)
n=N(i);
u1 = rho.^n .* cos(n.*theta); 
u2 = rho.^n .* sin(n.*theta); 
subplot(2,3,i);
quiver(x1,x2,u1,u2);
end

figure
for i=1:length(N)
n=N(i);
u1 = -rho.^n .* sin(n.*theta); 
u2 = rho.^n .* cos(n.*theta); 
subplot(2,3,i);
quiver(x1,x2,u1,u2);
end
Run Code Online (Sandbox Code Playgroud)

它给了我以下内容 第一功能

在此输入图像描述

分别用于第一和第二功能.我无法弄清楚为什么它没有绘制n为负的...我试图隔离所有但最终无法调试它.

matlab vector matlab-figure

5
推荐指数
1
解决办法
54
查看次数

如何在Matlab中使用第三个变量创建颜色渐变?

如何在Matlab中创建颜色渐变,以便绘制y = y(x)的2D线图,并使用另一个依赖于x的变量对其进行着色,使得z = z(x).我也可以使用散点图或点图.

我还希望有一个色彩图传奇类似于显示颜色渐变的东西,它是z的实际表示.这种东西在VisIt和ParaView等可视化工具中非常普遍,但我还没有在Matlab中弄清楚它.

matlab matlab-figure

5
推荐指数
2
解决办法
4573
查看次数

为什么我的char数组中有随机字符?

当我在C中编译并运行以下内容时,

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main () 
{
    char func[16];
    for(int i = 0; i < sizeof(func); i++) {
        printf("Char %d in func is %c\n", i, func[i]);
    }
    return 0;
}
Run Code Online (Sandbox Code Playgroud)

我明白了:

Char 0 in func is P
Char 1 in func is 
Char 2 in func is @
Char 3 in func is 
Char 4 in func is 
Char 5 in func is 
Char 6 in func is 
Char 7 in func is 
Char 8 in …
Run Code Online (Sandbox Code Playgroud)

c

1
推荐指数
1
解决办法
518
查看次数