Community Profile

# Trung Ngo

Last seen: meer dan een jaar ago Active since 2017

All

#### Content Feed

View by

Question

Graph Shortest Path (Non-Negative Directed Graph)
Dear all, I am using sparse before using the graphshortestpath function in Matlab. However, there is some edge that I modify t...

bijna 2 jaar ago | 2 answers | 0

### 2

Question

Depth-first search that starts from the right side of the loop
Dear all, Currently, I have a function that list all the branch from level to level in the leftest side. I want to list all th...

bijna 2 jaar ago | 1 answer | 0

### 1

Undefined function or variable
Fix it by clearvars; tic load('checkcheck.mat'); for i=1:length(lat) tf_a(i)=check_island(lon(i),lat(i)); end wtime ...

ongeveer 2 jaar ago | 0

Question

Undefined function or variable
Hi all, I am calling a function and receiving this error, my dummy_run_check_island.m (main file) is: clearvars; tic load(...

ongeveer 2 jaar ago | 3 answers | 0

### 3

Question

Long loading time of a 60 MB matrix
Hi all, I am currently having a 256GB SSD with a Sequential Read of 2.5GB/s, but loading a 60MB matrix took an average of 100....

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Find groups of duplicate values and preserving order?
Hi all, I have a 100x1 double matrix matrix=[100--100].*rand(100,1)-100; C=unique(matrix); I would love to create a length...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

For loop with a big matrix of 800 MB
Hi all, I am searching through a big matrix file ( nearly 850 MB) and tried to loop through that matrix but it take a massive ...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Solved

Given a and b, return the sum a+b in c.

ongeveer 2 jaar ago

Question

Question with for loop 'Index in position 1 exceeds array bounds (must not exceed 9)'
Hi all, I don't know how to make sure index i not exceed the array bound in this case (since lats is a 9x13 matrix, NumCenPts ...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Question with interp3
Hi all, I got an error using interp3 as: % Error using griddedInterpolant % The grid vectors do not define a grid of poin...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

Question with Rhumb Line Distance from Mapping Toolbox
I am having a trouble with the geographical distance between 2 coordinates from Matlab's Mapping Toolbox. When I included the re...

ongeveer 2 jaar ago | 1 answer | 0