Community Profile

photo

Nadatimuj


Last seen: 12 Tage vor Aktiv seit 2021

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3
  • First Answer
  • First Review

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Why is pause function so inaccurate on Windows?
tic; for k =1:2000, pause(0.0014); end toc This code takes about 2.89 seconds on Linux machine but 30 seconds on windows. Te...

mehr als ein Jahr vor | 2 Antworten | 2

2

Antworten

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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.

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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. ...

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 ...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 %...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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.

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

Frage


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...

etwa 3 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


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?

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden