matlab drawbox函数,imola

Question

how to convert 1100111 to 1 1 0 0 1 1 1

Dear All,

I need to convert a matrix of

a=[11100;10000;10101];

to

s=[1 1 1 0 0;1 0 0 0 0;1 0 1 0 1];

to co...

5 years ago | 3 answers | 0

3answers

Question

why i get this error Size vector must be a row vector with real elements.

Dear,

i have test this code to solve mixed integer problem but it give error her in this step

CoefMatZX = [repmat(-CoefZ...

6 years ago | 0 answers | 0

0answers

Question

using boundary command from matlab R2015a

Dear All,

I'm trying to find the boundary for a set of points for dimension n=>2, so I start with dimension 2. This code is f...

6 years ago | 2 answers | 0

2answers

Question

how to write sparse matrix

Dear All,

How to write sparse matrix as a small matrix in one page, I have 100x100 matrix and need to write the output in one...

6 years ago | 1 answer | 0

1answer

Question

why population size give bad result if it more than 50

Dear all,

I'm trying to apply the genetic algorithm, when I choose population size more than 50 in 3 dimension it works and g...

6 years ago | 1 answer | 0

1answer

Question

why function save and load not work in my matlab R2013a

Dear,

I'm trying to use these functions but it always give me error.

I have a matrix and I need to save it then call it fr...

6 years ago | 0 answers | 0

0answers

Question

how to find locations of consecutive blocks of ones

dear all,

I have this matrix and I want to now how to find the consecutive blocks of ones in row 2 and 3, then the blocks in ...

6 years ago | 2 answers | 0

2answers

Question

how to avoid repeat numbers in a row

Dear All,

I have this row

A=[1 2 3 4 5 6];

I tried to find random permutation on the vector but in many cases I got ...

6 years ago | 2 answers | 0

2answers

Question

how to compute blocks of ones in a row

Dear All,

I have this matrix.

P=[1 0 1 1 0 0 1 1 1

0 0 1 0 1 1 0 0 0];

I ne...

6 years ago | 1 answer | 0

1answer

Question

how to transform my input in n-dimensions

Dear All,

I need to rotate hyper-rectangle in 4-dimensions

but I got error Error using maketform>validate_matrix (line ...

6 years ago | 1 answer | 0

1answer

Question

check point inside square

Dear all, I want to check a point inside square.

Regards

6 years ago | 1 answer | 0

1answer

Question

fast method to check point

Dear all,

in 3D I used the convex hull to check the points, but it cost time.

I want to find fast method to check the points...

6 years ago | 1 answer | 0

1answer

Question

how to plot ellipsoid in 3d not in the center

Dear all,

I want to plot ellipsoid in 3dim not in the origin, what I should use , mesh or surf or plot3.

regards

6 years ago | 1 answer | 0

1answer

Question

Dear all , I still need an answer

Dear Patrik thank you very much, that's really quick, but I see that the numbers have changed and the total number to every numb...

6 years ago | 1 answer | 0

1answer

Question

how to convert matrix contains numbers to matrix of strings

Dear all,

I in my code I put my results in a matrix and sorted then extract the first fife columns in a new matrix which I wa...

6 years ago | 1 answer | 0

1answer

Question

I need to convert the number {11.741677 ] to {11741677} without the point

Dear all, I

I need to convert the vector

{11.741667 3.913892 14.488700 8.746350 0.349066}

to integer numbers

{11...

6 years ago | 1 answer | 0

1answer

Question

how to display the outputs

Dear All,

I have problem to display my outputs from this function when I call it from another file drawbox(5)

function ...

6 years ago | 1 answer | 0

1answer

Question

how to generate random points in a line

Dear All,

I need to generate points on a line.

can anyone help me please with any suggestion, I found just one a...

6 years ago | 1 answer | 0

1answer

Question

how to make table in MATLAB R2013a

Dear all,

I still need to knew how to create table from my results,

A=[a,b,d,g,h];

T=table(A,g,h)...

6 years ago | 1 answer | 0

1answer

Question

how to generate ellipsoid in n=4

Dear All,

I want to generate ellipsoid in dimensions n=4,

Regards,

Imola

6 years ago | 1 answer | 0

1answer

Question

how to rotate cube not parallel to axis

Dear,

I used from file exchange-MATLAB central a program to generate a cube then I tried to rotate but the new cube is parall...

6 years ago | 1 answer | 0

1answer

Question

how to find the vertices of the convex hull of set of points

Dear all,

I want to check the points in the convex hull, I know how to find the convex hull of the set but I don't know how t...

6 years ago | 1 answer | 0

1answer

Question

how to write general code for generating points

Dear All,

I'm trying to write the following code in general way for dimension >=2, the code is

m=4;

LB=[1 2 3 ...

6 years ago | 1 answer | 0

1answer

Question

how to choose right index

Dear All,

I have this matrix X and this is the index for it. I want to take the row with 1 1 index to empty and plot the rem...

6 years ago | 2 answers | 0

2answers

Question

Generating empty interval of points

Dear All,

I want to generate points in the interval [20,80] and have the interval [40,60] as an empty area. I wrote this code...

6 years ago | 2 answers | 0

2answers

Question

how to sort table in R2013a

Hi all, I made the table, but I cant sorted, I need to sort the table with respect to {K}and{l}

,can anyone tell how to do it....

6 years ago | 1 answer | 0

1answer

Question

how to make table

Dear all,

I need to make table of four rows such that I can sort it and turn it to a table contain the strings of the rows b...

6 years ago | 1 answer | 0

1answer

Question

how to call my code to GA

Dear all,

I need to call my code to GA code, I have error message

Output argument "output" (and maybe others) not ass...

6 years ago | 1 answer | 0

1answer

Question

how to use 'OutputFcn' in GA

Dear All,

I'm trying to use the next function to find some information about previous generation and I fou...

6 years ago | 1 answer | 0

1answer

Question

how to accumulate results from if, end

Dear all,

I'm checking points inside rectangle and I got result 1 for every point inside

, I want to accumulate this resul...

6 years ago | 1 answer | 0

1answer

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值