**Statistics**

RANK**540**

of 277 753

REPUTATION**126**

CONTRIBUTIONS

**0** Questions

**34** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**27**

RANK**11 114** of 18 794

REPUTATION**39**

AVERAGE RATING**5.00**

CONTRIBUTIONS**4** Files

DOWNLOADS **6**

ALL TIME DOWNLOADS**276**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Check that number is whole number

Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

6 månader ago

Solved

MATLAB Basic: rounding IV

Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

6 månader ago

Solved

MATLAB Basic: rounding III

Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

6 månader ago

Solved

MATLAB Basic: rounding II

Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

6 månader ago

Solved

MATLAB Basic: rounding

Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

6 månader ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

9 månader ago

Submitted

getOSfont

Name and size of the system user interface font (default system font)

ungefär 2 år ago | 1 download |

Submitted

points2axes

Conversion factors between points and axis units

ungefär 2 år ago | 1 download |

Submitted

Vectors

MATLAB toolkit for the creation of scientific drawings and illustrations

ungefär 2 år ago | 2 downloads |

Multi-batch csv processing error

Hi Denxybel, the main problem lies in the readtable statement. Althought the documentation states that "by default, readtable cr...

ungefär 2 år ago | 0

| accepted

how to identify a string in an external text file and save the text of the two following lines in arrays, by delimiters

% open textfile fid = fopen('myfile.txt'); % read line by line until the pattern is found pattern = 'A C G Y R E'; tline =...

ungefär 2 år ago | 0

| accepted

delete NaN values from Matrix & use Matrix for other operations

% Sample arrays A = [1; 2; 3; 4; NaN; 6; NaN; 8; 9; 10]; B = [NaN; 12; 13; NaN; 15; 16; 17; 18; 9999; 20]; We want to get rid...

ungefär 2 år ago | 0

| accepted

How to substract a loop from the first 10 cell values of the loop?

Would this work? X(2,n) = X(1,n) - X(1,mod(n-1,10)+1)

ungefär 2 år ago | 0

| accepted

Find location of exact string

regexp(data, '\<sine delta 2') The \< indicates that the search string must occur at the beginning of a new word - see MATLAB r...

ungefär 2 år ago | 1

| accepted

Find location of exact string

Starting with R2020b, you can use pattern with strfind, which allows you to only find matches if they are preceded by a nonlette...

ungefär 2 år ago | 0

a function generating a square matrix

A = [11, 12, 13, 14; 21, 22, 23, 24; 31, 32, 33, 34; 41, 42, 43, 44] A comma (optional) starts a new column in a matrix, while ...

ungefär 2 år ago | 0

How make mutiple plots in one plot

The issue is that you are opening your files in the first loop, one after another, but only the last opened file will be process...

ungefär 2 år ago | 0

| accepted

Convert a structure array to a list

c = struct2cell(sol); ilaplace([c{:}].')

ungefär 2 år ago | 0

| accepted

How to output a for loop as a table with each iteration and result displayed

Hi Jorge, First preallocate your table (outside the loop) according to the number of years in your list: T = table('Size', [nu...

ungefär 2 år ago | 0

ode45 for non linear ODEs

The solution below follows closely the "Solve Nonstiff Equation" example in the ode45 documentation. We first need to write an...

ungefär 2 år ago | 0

Extract x,y,z coordinates from figure

Hi Aidan, let's take the peaks surface plot as an example for a 3D surface plot. We create a table from the surface data and wri...

ungefär 2 år ago | 0

When i covert a structure to cell array, my fieldNames disappear

Shambhavi, you can use fieldnames to extract the fieldnames from your structure and add it to the end of your new cell array. Fo...

ungefär 2 år ago | 0

Invalidate user entry by using isnan or isempty function

str2double returns NaN (not-a-number) when it cannot convert text to a number. You can therefore simply use isnan to test if a n...

ungefär 2 år ago | 0

Combinations of array rows with exclusion

This answer does not have any of the duplicates that are present in my previous answer: A = [20 10;20 15;20 30;22 15;25 10; 30 ...

ungefär 2 år ago | 0

| accepted

Combinations of array rows with exclusion

OK, so how about this? A = [20 10;20 15;20 30;22 15;25 10; 30 10]; cellArr{1} = deleteOneRow(A); for i = 2:size(A,1)-4 ...

ungefär 2 år ago | 1

Code for action when ui toggle button is pressed

Yes, that's indeed the problem - the selected button never changes because you only have one button in the button group, so the ...

ungefär 2 år ago | 1

| accepted

error on using fplot

Your solution usol contains two symbolic variables, x and d, but fplot can only deal with functions of a single variable. I supp...

ungefär 2 år ago | 0

| accepted

Display same image with different rotations

I assume you are talking about 2D images: % prepare an image but hide it initially (for better timing) h = imagesc(peaks, 'Vis...

ungefär 2 år ago | 0

Combining Two plots with different with the same y axis and different x axis length

If the widths of your two plot boxes have an integer ratio (such as 4:1), you can use tiledlayout to do this. First create one r...

ungefär 2 år ago | 0