Question

Double interpolation using lookup tables in matlab

hi, i want to create a code that interpolates 2 dimensional data using the method shown in the attached pictures. To clarify, th...

19 jours ago | 1 answer | 0

Question

populating a structure array

Hi, i have three functions of which are working well. Now i want to populate my answers in a structure array using the spilt fun...

environ un mois ago | 0 answers | 0

Question

Taking 1d and 2d values from structure then interpolate

Hi, i have to create a code from 2 structure arrays and the code must first check if my data is 1 dimensional or 2 dimensional. ...

environ un mois ago | 1 answer | 0

Question

Extracting values from a cell then converting to a matrix

Hi, i have a cell array A, i want to remove column 1, row 1 and row 2 so that i am left with the other points to analyse. A...

environ un mois ago | 1 answer | 0

Question

calling a variable in another function

Hi, i have 2 functions where i calculated a variable in function 1, now i want to use the variable in function 2 but it says var...

environ un mois ago | 2 answers | 0

Question

creating a function that reads into the directory

Hi, i want to create a function that uses the file prefix, directory name and file type as inputs to pick up files that i want ...

environ un mois ago | 1 answer | 0

Question

using linear interpolation to find coefficients

Hi, i want to create a function that interpolates linearly to give me the coefficients. As an example, the function must take in...

environ un mois ago | 2 answers | 0

Question

converting a string to a matrix

hi, i have a string that i would like all its values to be stored in a matrix but when i use square brackets([ ]) to store it as...

environ un mois ago | 1 answer | 0

Question

converting cell to struct with fields

Hi, i have 2 cell arrays that i want to convert to structure with fields. The first cell is A (10×1 cell array) DeliArg= {[-3...

environ un mois ago | 1 answer | 0

Question

using the while loop to get the number of divisions

Hi, I am trying to add the while loop to my code such that the code should run while the difference between the present and prev...

2 mois ago | 1 answer | 0

Question

determining the number of divisions in riemann sums

Hi, since riemann sum is all about adding smaller divided rectangles below the graph. I developed a code which calculates the di...

2 mois ago | 1 answer | 0

Question

Typing a long and complicated equation

Hi, i am trying to integrate my function but when i type out my equation it gives me the wrong answer and i suspect that i may n...

3 mois ago | 2 answers | 0

Question

Integrating using sums(riemann sums)

Hi, i want to find the integral of function f without using the int function with the limits 5 and 17 . I want to find the riema...

3 mois ago | 1 answer | 0

Question

How to add a matrix vertically and nest an if loop

Hi, i have a vector OxygenT = [0 5] and i want to add [0 5] to the next row so that i get 0 5 ...

3 mois ago | 1 answer | 0

Question

Calculating Time Intervals Between measurements

Hi, i have a set of values stored in vector Humidity. I have to first determine frequency of Humidity then use the frequency to ...

3 mois ago | 1 answer | 0

Question

Deleting NaN`s from a set of values using if loop

I want to delete the NaN`s from A so that am left with numbers only and store them in the Absorption vector . When i execute/run...

3 mois ago | 1 answer | 0

Question

Extracting values that are greater than the threshold

the Alert vector below is a combination of time in hours and minutes(column 1 and 2 respectively) and corresponding oxygen value...

3 mois ago | 2 answers | 0

Question

Hi, i am trying to delete NoValue from A without hardcoding so that i am only left with numbers and store them in Absorption vector but when i run the code it comes back exactly as it is, please help!!

A = 20.0872 16.1710 20.6179 17.9930 18.6397 16.5852 22.5673 21.0629 19.8378 19.9037 ...

3 mois ago | 1 answer | 0

Question

Hi, there is a (1x6) vector that i want to extract values from. I used strings to pick-up the subtitle and now the problem is that i have to extract every value under the subtitle (e.g Oxygen). How to i extract those values without hardcoding ?

InputData; strmeasurements = Measurements; 'Oxygen'; strcmp(strmeasurements,'Oxygen') for = 1:1:length(strmeasurements) ...

3 mois ago | 1 answer | 0