Community Profile

Last seen: Today 2021 年からアクティブ

バッジを表示

#### Content Feed

How to resolve error calling Python from MATLAB?
I have both MATLAB 2022a and 2022b on the same machine. MATLAB 2022a always called python without any issue. But now I installed...

27日 前 | 1 件の回答 | 0

### 1

Any function to get adjacency matrix of 2D M by N lattice?
Is there any function in matlab to generate adjacency matrix, A of 2D M by N lattice? For example, for M = 4, N = 3, A = [0...

### 2

Is there any other function faster than sum(A,2) to get the sum of all rows?
a=zeros(6750); h=zeros(6750,1); tic;k=h-sum(a,2); toc Is there any faster way than to use sum(A,2) to get the sums of the row...

5ヶ月 前 | 2 件の回答 | 0

### 2

How can I find all n-bit semiprime numbers?
I know about the primes function but I need to get a list of all n-bit semiprime numbers and all the factors. Thanks.

5ヶ月 前 | 1 件の回答 | 0

### 1

How to get all combinations of PRODUCTS between two array elements?
Hi, Let's say I have two arrays. A =[5 6 8 9 7]; B= [3 4 5]; I need all combinations of elements of A* elements of B. ...

6ヶ月 前 | 2 件の回答 | 0

### 2

how to use pyrunfile Python inside a .m file?
I am trying to call a python script from MATLAB. It looks like pyrunfile("main.py") command works well in the command window but...

6ヶ月 前 | 0 件の回答 | 0

### 0

Can anyone please vectorize the code I have?
Input J_org = 0 2 0 1 0 -1 -1 2 0 0 -1 -1 3 0 0 0 0 ...

7ヶ月 前 | 1 件の回答 | 0

### 1

Can anyone help me optimize the if statements in For loops to make the code faster?
function [triu_adjacency,J_indices] = get_triu_adjacency(J_org, max_num_neighbors) % J_org =[ 0 -1 -1 1 2 %...

7ヶ月 前 | 1 件の回答 | 0

### 1

Can we modify a PCIe AXI Master IP that is unavailable to make it work?
Hi there, I have been using MATLAB PCIe as a AXI master for a long time on the VCU118 board. Now we got the newer and bigger ...

7ヶ月 前 | 0 件の回答 | 0

### 0

How to distribute data as Gaussian?
Let's say I have 800 colors. I want to distribute it between 10 people. If I distribute it unformly, I would simply give 80 colo...

8ヶ月 前 | 2 件の回答 | 0

### 2

How do I do unsigned comparsion between two n-bit vectors having 1s and 0s?
x = '1000000100000000000000000000000000000000000001010110001111000000' y = '00000000000001010110001111000000000000000000010...

8ヶ月 前 | 1 件の回答 | 0

### 1

How do I do unsigned comparsion between two vectors having 1s and 0s?
x = '10000001000000000000000000000000' y = '00000000000001010110001111000000' Let's say x is the binary representation of ...

8ヶ月 前 | 1 件の回答 | 0

### 1

How to increase MATLAB corrplot co-efficient precision ?
How to increase the font size of correlation coefficients in MATLAB corrplot? Also, how to increase the precision of co-efficien...

8ヶ月 前 | 0 件の回答 | 0

### 0

How can I reshape a square matrix to a rectangular matrix based on its adjacency list?
How can I reshape a square matrix to a rectangular matrix based on its adjacency list? Let's say I have the following 14x14 matr...

8ヶ月 前 | 2 件の回答 | 0

### 2

How to draw a Bethe lattice with a given number of nodes N and coordination number z?
How to draw a Bethe lattice with a given number of nodes N and coordination number (number of connections), z? Reference: https...

9ヶ月 前 | 0 件の回答 | 0

### 0

How do I define the y axis of imagesc as integers and not fractions?
I have 2x1e7 data but imagesc makes the y axis range from 0.5 to 2.5. How can I make it 0 to 2? And what is the reason the defau...

9ヶ月 前 | 1 件の回答 | 0

### 1

How to extract positive, negative and fraction numbers from string?
How do I extract numbers from a string where the number can be positive, negative or even fractions? I tried the following but ...

9ヶ月 前 | 2 件の回答 | 0

### 2

Is there a way to convert binary with Don't care to corresponding decimal values in MATLAB?
Is there a way to express don't care binary in MATLAB and get the decimal value? For example, 011x can be either 6 or 7 since th...

9ヶ月 前 | 1 件の回答 | 0

### 1

How to improve sparse array indexed assignment in MATLAB?
Hi, how can I improve indexed assignment to a sparse matrix? Please refer to line 29 and 31 of the attached code that is simply ...

9ヶ月 前 | 2 件の回答 | 0

### 2

Any built-in graph coloring algorithm in MATLAB?
Please implement an efficient graph coloring algorithm. For example, DSATUR. It's surprising that MATLAB doesn't have a built-in...

10ヶ月 前 | 1 件の回答 | 0

### 1

King’s Graph and Grid Graph
Can anyone give me a code or function to generate King’s Graph and Grid Graph of any size in Matlab? Mainly, I need the adjacenc...

10ヶ月 前 | 0 件の回答 | 0

### 0

Can anyone share a working graph coloring code? DSATUR or something else?
I am looking for a graph coling code, DSATUR or something else.

1年以上 前 | 1 件の回答 | 0

### 1

How to add a second x-axis on top in plot?
I think something similar is asked in the forum before and there is a documentation on how to add second a y-axis. But I am not ...

1年以上 前 | 2 件の回答 | 0

### 2

How to find graph density in MATLAB for a given graph G?
I want to find the density of a graph in matlab. Is there any function to find that? Thanks.

1年以上 前 | 1 件の回答 | 0

### 1

Keep track of Matrix row indices after deleting some rows
Suppose, I have a 10x10 Martix A= magic(10). Then I delete some rows from it as A([3 5 6],:)=[]. and some columns as A(:,[3 5 ...

1年以上 前 | 1 件の回答 | 0

### 1

Timed out on waiting for AXI write response.
@Praneet Kala My issue is solved here: https://forums.xilinx.com/t5/Xilinx-Evaluation-Boards/Why-is-output-of-clock-wizard-stuck...

2年弱 前 | 0

Matlab AXI master import hdlverifier::*;does not work
Still doesn't work in post-synthesis and post implementation simulation.

2年弱 前 | 0

Matlab AXI master import hdlverifier::*;does not work
I was trying to implement this: https://www.mathworks.com/help/supportpkg/xilinxfpgaboards/ug/access-fpga-external-memory-using...

2年弱 前 | 1 件の回答 | 2

### 1

Is there a way to convert verilog (.v) codes to Simulink model?
How to convert multuple verilog files into Simulink model without getting any clock inference error?

2年弱 前 | 1 件の回答 | 0

### 1

Error in importhdl how to solve?
I am trying to import a verilog module that calls other submodules. Whenever, I try to import from HDL to simulink, I am getting...

2年弱 前 | 1 件の回答 | 1