Founder, Smart Electric Grid

Question

How to solve this problem when my friend downloaded my standalone application?

Dear All, I used Matlab compiler to generate a standalone application package. I sent it to my friend to test. But he feedback...

en dag ago | 0 answers | 0

Question

Why did I get different print format in the output txt file?

Dear All, I used Matlab compiler to generate a standalone application exe file. I then tested it in 3 different computers. I ob...

en dag ago | 1 answer | 0

Question

How to get UTC time in my program?

Dear All, I am wondering if it is pissible to get the UTC time in my program. Do I need the internet avaibale if I want to get ...

2 dagar ago | 1 answer | 0

Question

Why the user was asked to install Matlab runtime for my standalone application?

Dear All, When I created a standalone application exe file, I used the selection "Runtime is included in the package". But the ...

22 dagar ago | 1 answer | 0

Question

Can I write a builtin Clock in my standalone application exe file?

Dear All, I am using the datetime to control the days the users can use our standalone application code. But I found a flaw of ...

22 dagar ago | 1 answer | 0

Question

How to delete the logo when using Matlab compiler?

Dear All, I want to delete the logo when using Matlab compiler. Would anyone know how to delete it? Thanks in advance. Benso...

27 dagar ago | 1 answer | 0

Question

How to write my Matlab code so that its standalone application program takes multiple input files?

Dear All, I want to design my standalone application code (.exe file generated by Matlab compiler) which takes input files as f...

27 dagar ago | 1 answer | 0

Question

How to find the absolution date?

Dear All, I think it is hard to find out the absolute date (current date). Because the computer date can be changed, for exampl...

ungefär en månad ago | 1 answer | 0

Question

How to print text in an existing txt file in an existing txt file?

Dear All, I tried the following cases: 1. fprintf('Hello <strong>bold</strong> world.\n') 2. fileID = fopen('GeneralResults.t...

2 månader ago | 1 answer | 0

Question

How to print some text in a txt file in another folder?

Dear All, Hope this message finds you all being safe and healthy. I am trying to print some text and save them in a txt file ...

2 månader ago | 3 answers | 0

Question

How to find a minimal number of rows in a sparse matrix to form a square sub-matrix for a given row?

Dear All, I have a big sparse matrix A. For a given row, is it possible for me to find the minimal number of rows in A to form ...

4 månader ago | 1 answer | 1

Question

How to quickly find the column index of the last non-zero element in all rows in a sparse matrix?

Hi, All, I have a big sparse matrix A. I want to find out the column index of the Last non-zero element in all rows from the en...

4 månader ago | 5 answers | 0

Question

How to quickly find the minimal number of rows in a sparse matrix to form a full-rank sub-matrix?

Dear All, I have a big sparse matrix A. For a given row, is it possible for me to find the minimal number of rows in A to form ...

4 månader ago | 1 answer | 0

Question

How to quickly find the index of each integer in an ascend array?

Hi, All, I have an array which has an ascend integers. Now I want to find the index of the first integer in this array. For exa...

4 månader ago | 1 answer | 0

Question

How to quickly find the first non-zero element without iterations in all columns in a sparse matrix?

Hi, All, I have a big sparse matrix A. I want to find out the first non-zero element in all columns from the top. Here is my co...

4 månader ago | 4 answers | 0

Question

How to quickly find the maximum group of same rows in a matrix?

Dear All, I have a matrix and there exist identical rows in the matrix. I want to find the maximum group of identical rows in t...

8 månader ago | 1 answer | 0

Question

Looking for a code in Matlab optimization

Dear All, I do not know if a code exists in Matlab optimization for the following integer linear programming. Min ||A*x - b|...

9 månader ago | 1 answer | 0

Question

How to improve the accuracy of lu decomposition?

Dear All, I did the following calculation and found lu decomposition is Not accurate as I expected. For a set of linear equatio...

10 månader ago | 3 answers | 0

Question

How to fix an error in Parallel Processing?

Dear All, When I tried to use parfor to run my code, I always got the following error message (I defined the variable "red" at ...

11 månader ago | 0 answers | 0

Question

Problems encountered in Parallel Processing

Dear All, I tried to use parfor to run my code which is given as follows: function [A,B] = temp_test(x) a = [1:2*x]; b = [1:x...

11 månader ago | 1 answer | 0

Question

Can we calculate the roots of polynomials with matrix coefficients?

Dear All, I have a polynomial which has matrix coefficients. For example, I have the following equation: [1 0;0 1]*[x_1^2; x_2...

11 månader ago | 1 answer | 0

Question

A Question About the exe file generated by Matlab Compiler

Dear All, If I generate an exe file using Matlab Compiler, can I still use this exe file after Matlab Compiler gets expired? Wh...

ungefär ett år ago | 1 answer | 0

Question

How to solve a special linear equation Ax=b? A is a row vector.

Dear All, I am trying to solve the following linear equation Ax=b: [a1 a2 ... an][x1 x2 ... xn]' = b. where b is a complex num...

ungefär ett år ago | 2 answers | 1

Question

How to display a matrix which has elements with big difference in values?

Hi, All, I want to display a matrix A which has elements with big difference in values. For example, A=[1000 0.2;1001 0.5;2120 ...

ungefär ett år ago | 1 answer | 0

Question

The fastest way to check if a sparse matrix is singular or not?

Dear All, For a large sparse matrix A, how can I check in a fastest way if matrix A is singluar or not? The matrix has a dimens...

mer än ett år ago | 1 answer | 0

Question

How to find the last nonzero entry in all rows of a sparse matrix?

Dear All, I need to find out the last nonzero entry in each row of a sparase matrix A. Say A=[1 3 0 0 0 0;0 4 2 3 0 0;5 0 0 1 4...

mer än ett år ago | 1 answer | 0

Question

Is there a faster approach than \ operator to calculate the inverse of a lower triangular matrix?

Dear All, I have a big square lower triangular matrix A (6000 x 6000) which is very sprase with a density 0.05%, I am using Inv...

mer än ett år ago | 0 answers | 0

Question

Efficient Inverse of a updated lower triangular matrix

Dear All, I am looking for the inverse of a updated lower triangular matrix. The original matrix is A which is a lower triangul...

mer än ett år ago | 0 answers | 0

Question

How to find out the location difference of nonzero entries in two sparse matrices?

Hello, All, I have two sparse matries which have the same size. I know every nonzero entry in A must correspond to a nonzero ...

mer än ett år ago | 1 answer | 0

Question

How to do a quick division between a column array and a matrix?

Hello, All, I want to divid a column array b (N x 1) by each column in a big sparse matrix A (N x M). My code is as follows: ...

mer än ett år ago | 1 answer | 0