Community Profile

photo

Mark Sc


Last seen: 6 mesi ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Read sparse matrix from notepad
Hi all, I am trying to read a sparse matrix from a notepad.. I tried with the following matrix however, it's not given the cor...

7 mesi ago | 1 answer | 0

1

answer

Question


Equivalent python for a matlab line?
Hi all, May I know how could I represent the following line to python: X = y(z(i,1:12),1);

10 mesi ago | 1 answer | 0

1

answer

Question


Transfer and write three lines into python: help
Hi all, Please anyone help me in writing the following lines in python: clear all; clc; x=[5,31,41,51,61] y=[1,11,21,31,...

10 mesi ago | 1 answer | 0

1

answer

Question


How could I Transform some lines from Matlab to Python ::
I am trying to transform the following lines into python, I already did however, I got an error not sure if I did it correct or ...

10 mesi ago | 1 answer | 0

1

answer

Question


write down matlab command lines into python
I am trying to write small part of command lines into python as I am still new and not sure if I am able to do so or not, cl...

10 mesi ago | 1 answer | 0

1

answer

Question


Understand a command line to create a matrix
Hi all, I am trying to write the following matlab line into another program, I already found it in the internet, it works perf...

10 mesi ago | 1 answer | 0

1

answer

Question


load data cell from Mat file from Matlab file
Hi all, I am trying to load data cell from mat file, I used load function but still all I get is (struct with field), I would ...

oltre un anno ago | 1 answer | 0

1

answer

Question


Help in visluzation of matrix obtained ?
Hi all, I would like to visualize a matrix as rectangle (or any shape close to rectangle) with different layers (based on nu...

oltre un anno ago | 0 answers | 0

0

answers

Question


Error using horzcat:: Dimensions of array being concentenated are not consistent
Hi all, I am running the following but I got that error Dimensions of arrays being concatenated are not consistent. clearvars...

oltre un anno ago | 2 answers | 0

2

answers

Question


Understanding function written in a book
Hi all, I am new to optimization, and I pass through the following function (command) which is written in the book, but I do n...

oltre un anno ago | 2 answers | 0

2

answers

Question


Getting lowest postive number in array with it's index
Hi, I am trying to get lowest postive number from array , and it's index, I got the correct lowest postive number but due to...

oltre un anno ago | 1 answer | 0

1

answer

Question


FOR Loop not giving correct answer
Hi all, I'd like to calculate the sum of C_ortho based on two different conditions, so I introduced 2 different for loops howe...

oltre un anno ago | 1 answer | 0

1

answer

Question


Solve system of linear equations ...matrix output is not as expected
Hi All, I am trying to solve system of equations, as attached, I have written a code, but my final matrix is 9*9 however, ...

oltre un anno ago | 1 answer | 0

1

answer

Question


Code is working:: However, Matrix obtained not correct (Code is working but the zeros elements place are not correct
Hi all, I need help in this code, The Matrix obtained is correct however, the zeros elements are not in the correct place ...

oltre un anno ago | 0 answers | 0

0

answers

Question


Speed up code:: Code is working but slow..
Hi , The code is working fine, but it's very slow... any suggestions ? clearvars; clc; C(1:3,1:3,1:3,1:3) = ...

oltre un anno ago | 1 answer | 0

1

answer

Question


Finding lowest value and the index from vector excluding zero and inf
Hi all, I am trying to find lowest number excluding zero and inf from a vector: I wanna the output to be: r= 0.5 index= 6...

oltre un anno ago | 1 answer | 0

1

answer

Question


extracting two specific columns from matrix (Indexing)
Hi all, I am trying to extract two columns (1 and 3) from a matrix, but I got an error "Error: Unbalanced or unexpected parent...

oltre un anno ago | 1 answer | 0

1

answer

Question


Plot multiple lines in Matlab with animation
Hi all, I am trying to plot a line, and then another line I already wrote the code, but the figure plotted not as I want (I ...

oltre un anno ago | 0 answers | 0

0

answers

Question


Intgeration by parts function
Hi all, I am new to the function of intgeration by parts, I would like to display and answer the following equation: ∫▒〖w (∂^...

oltre un anno ago | 1 answer | 0

1

answer

Question


assemble matrices for any matrix size with error of matrix dimension must agree
Hi all, I am trying to assmeble matrices, I already wrote a code for which I could do, but I would like to do edit/develop co...

oltre un anno ago | 1 answer | 0

1

answer