Question

inserting colorbar in surf plots.

Hello Everyone, I am using surf function to create a 3D shaded surface plot. I also define a variable C which is a 3 dimensi...

plus de 7 ans ago | 1 answer | 0

Question

How to vary colourmap while using surf function

Hello Everyone, I am using surf command to plot a 2 dimensional function Z. The dimensions of Z are 155*125. The minimum val...

plus de 7 ans ago | 1 answer | 0

Question

out of memory error while reading binary file

Hello Everyone, I am reading a binary file whose size is 644 MB. For reading the binary file I use the following command ...

presque 8 ans ago | 2 answers | 0

Question

remove common elements from 2 array

Hello Everyone, I have two array Arr1 = [301;302;303;601;602;603] and I have another Arr2 = [101;102;301;302;303;601;602...

presque 8 ans ago | 1 answer | 0

Question

How to use find function in cell array

Hello , I have a 306*1 cell array and each cell array has a matrix of 100*2 elements. I want to find in which particular cel...

presque 8 ans ago | 1 answer | 0

Question

help required using colormap function in matlab

Hello Everyone, I am using surf function to plot a 2D matrix Z. The matrix has 61 rows and 98 columns. The data varies from ...

presque 8 ans ago | 2 answers | 0

Question

Store data in cell arrays

Hello Everyone, I know the question below is quite stupid but please help as I am not able o find a solution for it. This is...

presque 8 ans ago | 4 answers | 0

Question

create multiple mat files for storing data

Hello Everyone, I am reading in data from a device and want to store it in a mat file. Currently I am directly storing my re...

presque 8 ans ago | 1 answer | 0

Question

problem in parsing data

Hello Everyone, I am reading a binary file using MATLAB whose size is around 96 MB. After I read in the binary file I conver...

presque 8 ans ago | 2 answers | 0

Question

error in MATLAB while shutting down

I am trying to close my MATLAB but getting the following error Attempt to execute SCRIPT builtin as a function: C:\ProgramF...

presque 8 ans ago | 1 answer | 0

Question

reading a large binary file in MATLAB

Hello, I have to read in a large Binary file whose size is 92,504 KB. When I am using fread command MATLAB is giving me erro...

presque 8 ans ago | 1 answer | 0

Question

function without matching end

hello everyone, I have got a m file which reads in data and plots the data in a GUI. In the main file itself there are many ...

presque 8 ans ago | 2 answers | 2

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

presque 8 ans ago

Question

location of file created by fopen command

hello everyone, I am creating a file using using the below command [fid,message] = fopen('test1.dump','w') my fid is a...

presque 8 ans ago | 2 answers | 0

Question

Store variable number of data sets

Hello Everyone, I have a matrix of size Z [15*22] elements and in this matrix I want to add some particular set of distance ...

presque 8 ans ago | 1 answer | 0

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

presque 8 ans 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...

presque 8 ans 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:...

presque 8 ans ago

Question

Store a particular set points in a new cell array.

Hello Everyone, I had asked a similar question few weeks back but I think that question was not framed properly so please ex...

presque 8 ans ago | 3 answers | 0

Question

How to use wfilters in MATLAB

Hello , I want to implement Discrete Wavelet Transformation using 'Haar' criteria. I found the relevant document also on math...

presque 8 ans ago | 0 answers | 0

Question

Access and store cell arrays in a new variable

hello , I have a cell array y of dimensions 672*1 . I want to store the even cell numbers in a different variable. I want to...

presque 8 ans ago | 1 answer | 0

Question

create sub arrays from a array

Hello Everyone, I am new to MATLAB so I am asking a very basic question which I am not able to solve. I have an array of...

presque 8 ans ago | 2 answers | 1

Question

create a new array without nan

Hello Everyone, I have a 2D array of size 672*8 in which I have several rows where in first and second column I have a value...

presque 8 ans ago | 2 answers | 1

Question

join two matrices together

Hello, I have two matrices, MatrixA <177*4> and MatrixB <177*4> . I want to create a third Matrix which takes the first colum...

presque 8 ans ago | 1 answer | 0

Question

finding the first, second and third maxima in the signal

Can someone please help me with the code for finding the signal peaks in the below figure . I hae tried using for loops, and...

presque 8 ans ago | 1 answer | 0

Question

Finding the first, second and third maxima in a plot

Hello Everyone, I want to extract the first the maximas in my graph and save the sequence in a seperate variable. I know the...

presque 8 ans ago | 1 answer | 0

Question

creating a 3d image

Hello, I am using an ultrasonic sensor to scan a test object. I want to recreate the test object using MATLAB from the senso...

presque 8 ans ago | 0 answers | 0

Question

error using load command.

I am using load command with the file address and name. It was always working fine but now suddenly I am facing a problem. So to...

presque 8 ans ago | 2 answers | 0