Community Profile

photo

Mark Sc


Last seen: 12 months ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Find intersection point between two plotted lines
Hi all, I have been trying to find an intersection point between two plotted lines however, I used several functions but it do...

12 months ago | 2 answers | 0

2

answers

Question


Plot tangent line on part of the curve
Hello all, I am trying to plot tangent line but only on part of the curve not all, like first 25% or less on the curve..... ...

12 months ago | 1 answer | 0

1

answer

Question


Read data and transfer comma to dot with detectImportOptions
Hi All, I would like to read a data file, I would like to transfer data with comma to dot. I have read on the internet a lot o...

12 months ago | 2 answers | 0

2

answers

Question


plot a tangent line of zero point
Hi all, I am kinda new to matlab.. I have a x-y data and would like to plot a zero-point tangent to the curve which I have... ...

12 months ago | 1 answer | 0

1

answer

Question


FOR loop count to the end but the length of the array is different
Hi all, I have a question and I think it's easy but I am bit confused.. I have to do a for loop starting from 3 until 7..the...

1 year ago | 2 answers | 0

2

answers

Question


How to create for and if loops instead of while
Hi all, I am quit new to matlab and wondering if possible to write for with if loop instead of while: (as It is required to li...

1 year ago | 1 answer | 0

1

answer

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

2 years 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);

2 years 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,...

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

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

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

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

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

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

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

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

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

3 years 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, ...

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

3 years 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) = ...

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

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

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

3 years 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 (∂^...

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

3 years ago | 1 answer | 0

1

answer