Question

Matrix interpolation in the direction of the third dimension

Hello! I would like to perform matrix (n x n) interpolation in the direction of the third dimension which is frequency (1 x N),...

3 months ago | 1 answer | 1

Question

Question about STL file

Hello! I have an STL file which contains the facets and vertices. My concern is about the way the facets are saved because I h...

10 months ago | 1 answer | 0

Question

meshing problems: How to control the triangles size and how to get the edges properly

Hello! I would like to mesh a 3d model into Matlab using data from a STL file, and I am facing two troubles in doing so. 1/ I...

10 months ago | 0 answers | 0

Answered

how to export the impedance matrix from Feko into Matlab

the process of exporting the impedance matrix from Feko into Matlab will be illustrated. To begin with, the antenna design is bu...

how to export the impedance matrix from Feko into Matlab

the process of exporting the impedance matrix from Feko into Matlab will be illustrated. To begin with, the antenna design is bu...

11 months ago | 2

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

1 year ago

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

1 year ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

1 year ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

1 year ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 year ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

1 year ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

1 year ago

Question

Quadratic interpolation of an N dim array

Hello I would to know how I can perform a quadratic interpolation of an array using matlab ? it is worth mentioning that I am u...

1 year ago | 2 answers | 0

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

1 year ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 year ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

1 year ago

Question

matrix size and storage capability

Hello, I would like to perform some computations using MATLAB, these computations will consist in saving some large matrices at ...

1 year ago | 0 answers | 0

Question

help on a histogram plot!

Hello! I have a matrix (5x5) which I would like to plot (in 3D) using the hist3, I would like the plot to be a (5x5) grid where...

1 year ago | 1 answer | 0

Question

plotting issue along the x-axis !

Hello ! I would like to plot two curves in the same figure, to make my issue more clear let consider the following example: ...

2 years ago | 1 answer | 0

Question

Question about extracting a structure field using eval

hi! I am extracting the fields of a structure using the following code names = fieldnames(BD); for ii = 1: len...

2 years ago | 1 answer | 0

Question

NaN entries problem !

Hello! I have 2 matrices which I would like to add them (simple addition +) but I get in the resulting matrix some NaN entries ,...

2 years ago | 1 answer | 0

Question

error using interp1 !!

Hello! I wanted to interpolate the NaN values within a matrix , and it works perfectly but I wanted also to interpolate the Inf...

2 years ago | 1 answer | 0

Question

controlling the directory of the output file?!

Hello! I have three files, 'originFile' which contains file1 and file2 , I would like to know how can I force Matlab to save th...

2 years ago | 1 answer | 0

Answered

how to export the impedance matrix from Feko into Matlab

Thank you very much for your answer! I just wanted to tell that the real part is ill conditioned that is why you get negative va...

how to export the impedance matrix from Feko into Matlab

Thank you very much for your answer! I just wanted to tell that the real part is ill conditioned that is why you get negative va...

2 years ago | 0

Question

Question about integration within matlab

I would like to know how far would be my code correct if I used the 'sum' function to compute a double integral or should I use...

2 years ago | 1 answer | 0

Question

eliminate the nullspace of a matrix

Hello, how can I eliminate the nullspace of a square matrix using Matlab? Thank you!

2 years ago | 1 answer | 0

Question

issue using the rref function ?!

Hello! I would like to use rref function in order to remove the linearly dependent elements from my matrix , but when using rre...

2 years ago | 0 answers | 0

Answered

save new field to a structure?!

I have been googling for almost one hour but no result, this is the code that I am using to save the new added field but I lose ...

save new field to a structure?!

I have been googling for almost one hour but no result, this is the code that I am using to save the new added field but I lose ...

2 years ago | 0

Question

save new field to a structure?!

Hello! I have a 'myfile.mat' which contains several structures struct1, struct2,... Now I would like to save a new added field...

2 years ago | 3 answers | 0