I am a PhD candidate working in developing the hydrokinetic turbines.

Question

Hot to locate indices of 2-D data located out of circle?

Dear All, I have x,y data that are extracted from a triangle solution. I wonder if there is a command (no loop) that will fin...

20 días ago | 1 answer | 0

Question

Legend problem in 2018b version

Hi All: I am defining a cell array of strings that is to be read by the legend command later in a loop. Case_Name={'R1','R2'...

4 meses ago | 0 answers | 0

Question

what is the best method to fit a curve to strain-stress data?

Dear Matlab experits, Is there any preference towards any method (Matlab function) to fit a curve into strain-stress data? Is p...

5 meses ago | 1 answer | 0

Answered

How to solve this simple system of 2 equation in MATLAB

Thank you John and all of you who have valuable suggestions. John, that was exactly what I want

How to solve this simple system of 2 equation in MATLAB

Thank you John and all of you who have valuable suggestions. John, that was exactly what I want

más de 1 año ago | 0

Question

How to solve this simple system of 2 equation in MATLAB

Hi All; I wonder if Matlab can solve this two equations to find the Fx and Fy as a function in the other constants. I know I ...

más de 1 año ago | 3 answers | 0

Question

How to scale rotated matrix in a new coordinate?

Hello All: I have rotated foil data (each point has x,y coordinate) and I want to scale the foil after the rotation. In other w...

casi 2 años ago | 1 answer | 0

Question

How to concatenate matrices using for loop?

Dear All: I have a group of matrices of size (100X3). If possible, I want to concatenate them in one larger matrix using a fo...

casi 2 años ago | 1 answer | 0

Question

How to save a matrix output to a text file that located in different folder?

Hello All, I want to save a matrix output (My_matrix ) to a text file (scaled_1.txt) that located in different folder than th...

alrededor de 2 años ago | 1 answer | 0

Question

Is there a way to replace a specific NaN elements by integer where isnan would not work with steps greater than 1?

Hello All, Could you please help with this problem I have this matrix hh=[NaN 1 2 3 4;3 5 66 NaN 6;NaN 3 4 7 NaN; 9 ...

más de 2 años ago | 1 answer | 0

Question

How to include text and variable in excel sheet name when using xlswrite?

Hello, Is it possible to include variable and text in excel sheet name when we writing the result to that excel sheet using xl...

más de 2 años ago | 1 answer | 0

Question

Is there any way to increase the density of curve samples?

Dear fellows, I have a plot of multiple curves and I want, if possible, to increase the density of these curves (increase the...

más de 2 años ago | 1 answer | 0

Question

How to extract a column from cell arrays matrix?

Dear MATLAB users, I wish I got your help for this problem. I have built a cell arrays as a matrix as follow for k=1:5 ...

más de 2 años ago | 3 answers | 0

Question

how to use anonymous function with equation without retype the all equation?

Dear all, does anyone know how to use the anonymous function with equation that already defined without type it again. For ex...

más de 2 años ago | 3 answers | 0

Answered

how to feed one string to array on NaN?

Thank you James and Walter. Your both answer are of great help

how to feed one string to array on NaN?

Thank you James and Walter. Your both answer are of great help

casi 3 años ago | 0

Question

how to feed one string to array on NaN?

Dear MATLABERs :) Is it possible to add a string to an array of NaN The next example does not work N = NaN(10,1); N(5,1)...

casi 3 años ago | 3 answers | 0

Question

how to create array as i describe down?

Hello all, Please I need help with creating an array that starts at a point (point is integer and is a result of pre calculat...

alrededor de 3 años ago | 1 answer | 0

Question

problem with surface or mesh plotting of 3D data matrices with different rows length?

Hello everyone, I wrote a code that will separate and arrange 3D data so that each component of x, y and z is a matrix. However...

alrededor de 3 años ago | 0 answers | 0

Question

what is an accurate function for linear regression?

Hi All, can anyone tell me an accurate function for linear regression (fitting a line to data). I am also interested in the s...

alrededor de 3 años ago | 1 answer | 0

Question

How to locating the linear segment of a curve data and calculate the slope and interception?

Dear Matlab experts, I have a set of non-linear data that has a linear segment close to the lift end of the curve. I wonder h...

alrededor de 3 años ago | 2 answers | 0

Question

what is the best fitting tool to a data with sharp change in slop?

Hi all, I am attaching plot of plotted data and fitted curve to this data. The figure shows deviation at regions that have su...

más de 3 años ago | 0 answers | 0

Question

How to solve equation contains sin and cos?

Hello MATLAB experts, I am seeking you assistance in solving an equation that has sin and cos. The equation and the commands ...

casi 4 años ago | 1 answer | 0

Question

why ezplot(f,[3000,4000]) would not work

Hi all, I have this next function which is the result of solving for Px in my code f=@(Px) (16*(-(((27*Px)/2 - 65625)*((...

casi 4 años ago | 1 answer | 0

Question

How to eliminate or exclude complix numbers from an array solution?

Hello everyone, Is there any way to eliminate the complex numbers (real and imaginary parts) from a array solution. Or can I ...

casi 4 años ago | 1 answer | 0

Question

How to solve forth order Polynomial (equation) with one independent variable and two constants.

Dear MATLAB experts, I have an forth order polynomial (equation) as follow: (A^2*y^4) + (4*x*A^2*y^3) + ((4*B-4-2*A^2)*y^2...

casi 4 años ago | 1 answer | 0

Answered

how to change the color of the coordinate in Plotyy?

Thank you Walter and Vidya for your responses. Vidya, I have tried your code snippet and the figure did not show any plotting...

how to change the color of the coordinate in Plotyy?

Thank you Walter and Vidya for your responses. Vidya, I have tried your code snippet and the figure did not show any plotting...

casi 4 años ago | 0

Question

how to change the color of the coordinate in Plotyy?

Hi all, Please is there any way to change the color of y coordinate in plotyy. Also can I place the plotyy in for loop. I wan t...

casi 4 años ago | 2 answers | 0

Question

how to distinguish two surfaces in 3D surface plotting?

Hello all, Please needs help in plotting two sets of 3D data (data 1 from experiment and data 2 simulation). I am thinking in...

alrededor de 4 años ago | 2 answers | 0

Answered

who to sort pairs of arrays in the same order one based on the other?

[firstsordered, firstsortorder] = sort(first_array); sometimes gave a values after sorting i just used the following and it do...

who to sort pairs of arrays in the same order one based on the other?

[firstsordered, firstsortorder] = sort(first_array); sometimes gave a values after sorting i just used the following and it do...

alrededor de 4 años ago | 0

Question

who to sort pairs of arrays in the same order one based on the other?

Hello MATLAB experts, I have asked many questions and I really appreciate your prompt responses. My New question is that, I hav...

alrededor de 4 años ago | 2 answers | 0

Question

how to read spread sheet row by row iteratively ?

Hello everyone, I have an excel sheet that contains several rows with different lengths. I want to read these rows, using the...

alrededor de 4 años ago | 1 answer | 0