Question

Extract data from chart picture

hi I have some charts as pictures. I have to extract data automatically in (x, y) format. Because my charts are so long I can...

4 years ago | 1 answer | 0

Question

Digitize a graph automatically

Hi I have some paper graphs and need to extract data in (x, y) format. I scan all graphs to convert them in *.png file format...

4 years ago | 0 answers | 0

Solved

Determine if input is odd

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

5 years ago

Solved

Weighted average

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

5 years ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

5 years ago

Solved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

5 years ago

Solved

Circle area using pi

Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

5 years ago

Solved

Simple equation: Annual salary

Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

5 years 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:...

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

5 years ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 years ago

Answered

Plotting a surface plot for latitude, longitude and depth

Hi, I think this code solves your problem: function utm_plot(long, lat, altitude) clc close all [X, Y]=mes...

Plotting a surface plot for latitude, longitude and depth

Hi, I think this code solves your problem: function utm_plot(long, lat, altitude) clc close all [X, Y]=mes...

5 years ago | 0

Question

Read Data and ignore headerlines

Hi I have a data file in text file format as attached file. It contains some header line and data. I want to read data from fil...

6 years ago | 0 answers | 0

Question

Calculate distances between data points

Hi I have 6 separated groups(as g1,g2,g3,..., g6) and each of them have some spatial data points as (x,y,z,k) where x,y,z det...

6 years ago | 1 answer | 0

Question

insert two criteria function to lsqcurvefit

Hi, I have some data points as (X,Y) and I want to use lsqcurvefit function to find the best fit by least square method. My guid...

6 years ago | 2 answers | 0

Question

Read colomn data from file

Hi, I have a Unicode file as 'b.txt', contains 39 lines of header and data in other lines. I want to remove header lines and the...

6 years ago | 2 answers | 0

Question

Problem in "mbuild -setup" and configuration

Hi, I'm master in VB.Net programming and now, I want to integrate MATLAB in VB.Net by use of my dll files converted from my m-f...

6 years ago | 0 answers | 0

Answered

convert Matlb files to DLL files

Dear Walter Would you please explain how we can convert our m-files by hand? I use NET Builder to convert my functions to dll...

convert Matlb files to DLL files

Dear Walter Would you please explain how we can convert our m-files by hand? I use NET Builder to convert my functions to dll...

6 years ago | 0

Question

MATLAB in VB.net interface integration

Hi I'm master in VB.Net and want to use MATLAB abilities and my m-files in vb.net interface. Would you please help me to find...

6 years ago | 1 answer | 0

Answered

change nested for to vectorise

Hi everybody. would you please help me to improve my code? Thanks a lot. Mani

change nested for to vectorise

Hi everybody. would you please help me to improve my code? Thanks a lot. Mani

6 years ago | 0

Question

change nested for to vectorise

Hi I have a 100*100 grid as below: xgrid=1:100; ygrid=1:100; I have 5 data points in this grid(x,y) as below,too: ...

6 years ago | 2 answers | 0

Question

remove nested for structure

Hi I have a 100*100 grid as below: xgrid=1:100; ygrid=1:100; I have 5 data points in this grid(x,y) as below,too: ...

6 years ago | 1 answer | 0

Question

problem in vectorize script

Hi I want to improve my script as: a=round(50*rand(5,7)+50); for ii=1 for jj=1 if a(ii,jj)>= ...

6 years ago | 2 answers | 0

Question

problem in find correspond values in two matrixes

I have two matrixes, A and B. These are the same size, 7*7. I checked matrix A for values are between min and max values by ...

6 years ago | 1 answer | 0

Answered

set parameters of nlinfit function

Hi again I'm trying to solve the problem with spherical model fit function, this model has a mathematical formula as below: ...

set parameters of nlinfit function

Hi again I'm trying to solve the problem with spherical model fit function, this model has a mathematical formula as below: ...

6 years ago | 0

Question

Undefined function 'geoidtst' Error

Hi I use Azimuth function in my project. It worked very good until this afternoon. Now, I try to run my script and I receive ...

6 years ago | 3 answers | 0

Question

Search rows of a matrix on another and read data respectively.

Hi I have a data set file with headers as 'LatDegree, LongDegree, LatUTM, LongUTM, Height'. I have a calculated matrix consis...

6 years ago | 1 answer | 0

Question

Remove duplicated rows in a matrix

Hi I have some (x,y) points and it consists of some duplicated values, for example (x3,y3) is duplicated 3 times in data. Ho...

6 years ago | 1 answer | 0