photo

Mark Sc


Last seen: mer än ett år ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

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

mer än ett år 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..... ...

mer än ett år 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...

mer än ett år 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... ...

mer än ett år 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...

nästan 2 år 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...

ungefär 2 år 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...

nästan 3 år 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);

ungefär 3 år 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,...

ungefär 3 år 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 ...

ungefär 3 år 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...

ungefär 3 år 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...

ungefär 3 år 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 ...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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, ...

mer än 3 år 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 ...

mer än 3 år 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) = ...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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 ...

nästan 4 år 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 (∂^...

nästan 4 år 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...

nästan 4 år ago | 1 answer | 0

1

answer