Community Profile

photo

Mark Sc


Last seen: 11 mesi fa Attivo dal 2021

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


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

11 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

11 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

11 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

11 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta