Question

How to plot a 3d graph with projection of 3d axis values on to the 2d surface with vertical lines

Hi guys, Can any one help me out in plotting a 3d graph with projection of 3d axis values on to the 2d surface with vertical li...

8 months ago | 1 answer | 0

Question

Multiplication of column elements of a matrix

Hi If I am having a marix of size "m*n" I have to find the product of column elements of each row (But the number of columns s...

9 months ago | 1 answer | 0

Question

Finding index of a value in the matrix

I have a matrix "A" of size "n*2" 1st column--phase 2nd column--magnitude I have to find the row index of a row which have pa...

10 months ago | 1 answer | 0

Question

Converting a string into a numerical array

How to conver a string in the form "[1,2,3,4,5]" into a vector 1 2 3 4 5 I have used strrep command but here I have to remove ...

11 months ago | 2 answers | 0

Question

Simplest way to save a vector to a variable with commas and braces

How a can I save a numeric vector a= 1 2 3 4 5 as [1,2,3,4,5] (braces and commas are to be added here) with a simple solution

11 months ago | 2 answers | 0

Question

Converting a cell array into a matrix of stipulated number of columns and rows

Consider I have a cell array containing 4 cells Each cell containd 'n' elements Now I want to covert it into an array of si...

1 year ago | 2 answers | 0

Question

Can I pass fitobject as a variable to a function

I have curve fit my data using the fit command as given below [cfit,gof,output] = fit(x,y,fitType) Now my fitobject is in cfi...

1 year ago | 1 answer | 0

Question

problem in dealing Cell and array

I have a cell name 'k' Each cell of 'k' contains two dimensional array with row size 'r' and column size 'q' (r*q) I want to m...

1 year ago | 1 answer | 0

Question

How to convert a table into an array

I have uploaded my table here. I just want to convert this table into an array. I tried command like table2array but i am ge...

1 year ago | 2 answers | 0

Question

How to design a Toeplitz matrix with negative lower triangle elements and zero main diagonal elements

I want to design a square symmetric toeplitz matriz with diagagonal elements zero and lower triangle elements should be negative...

1 year ago | 1 answer | 0

Question

How to Assign vectors to each dynamic variable name?

Firstly I want to create variable names like z1,z2,..,Zn with n decided by the user I have an array A of size n*n I want to as...

1 year ago | 1 answer | 0

Question

Error is generated while using uigetfile while loading text files manually

I have to manually select the files which have to be loaded. Each text file is loaded seperately into different cells "Amplitude...

1 year ago | 0 answers | 0

Question

Plotting columns of a matrix into a graph

Hi, I want to plot columns of two matrices Z_imag and Z_real in two separate graphs. I tried to do this code but I wasnt ab...

1 year ago | 0 answers | 0

Question

Plotting all the columns of a matrix

Hi, I want to plot columns of two matrices Z_imag and Z_real in two separate graphs. I tried to do this code but I wasnt ...

1 year ago | 2 answers | 0

Question

I want to load multiple text files into variable cell array

Hi I want to load multiple text files into call array variable and then read the data from it and store them in different var...

1 year ago | 1 answer | 0

Question

How can we transpose a row vector into column vector in a cell

I want to convert a row vector in my defined cell into coulumn vector A{1} = [1 2 3 4]; A{2} = [5 6 7 8]; I want to conve...

1 year ago | 1 answer | 0

Question

How to use Prod function with cell arrays

I have defined a cell array in the name of "T_mn" having "n_layers" number of cells. Each cell is having a vector containing "n...

1 year ago | 2 answers | 0

Question

Coding for nested loop problem

I want to run nested loop with two variables 'p' and 'q' Outer loop is for 'p' and Inner loop is for 'q' The problem is q shou...

1 year ago | 1 answer | 0

Question

Want to apply two different functions on different elements of a vector.

How can we operate two seperate functions on elements of a row vector: one function should be operated on even position elements...

1 year ago | 1 answer | 0