Community Profile KSSV

Last seen: Today Active since 2011

Professional Interests: Mathematical Computing

Statistics

All
• • • • • • • • • • • • Content Feed

View by

alignment issue in fprint
P=[65.44; 87.12; 67.46; 79.51]; words1={'Moisture';'Fixed carbon';'Volatile matter';'Ash'}; words2 = repmat({'wt%'},length(P),...

2 hours ago | 0

Trying to stack an image array, error "Unable to perform assignment because the size of the left side is 220-by-220 and the size of the right side is 256-by-256"
If you RHS image is 3D and if the dimensions of each image are different, then you cannot save them into a matrix. So save them ...

4 hours ago | 0

| accepted

How to plot several 3D funztions (Z_n=f_n(x,y) with arbitrary intervals for each of them in one coordinate system?
It is plotting both the surfaces, but they are in the same colormap and you are unable to differentiate them. Check this: figur...

5 hours ago | 0

How to calculate the area of specific path under the curve?

2 days ago | 0

Create a Matrix from defined variables
c1=440 ; c2=250 ; r1= 50 ; r2=25 ; C=[c1*r1^2, c1*r1*r2, 0; c1*r2*r1, c2+c1*c2^2, -c2; 0, -c2, ...

2 days ago | 0

| accepted

Can I use my CPU and GPU simultaneously for Numerical Simulation?
DEfault code runs in CPU unless you specify the code to run in GPU. To run code in GPU you need to convert the variable/ stage t...

2 days ago | 0

How to plot mode shapes from eigen vectors of a cantilever beam.
Read about polyfit. Also have a look on this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/30970-natural-...

2 days ago | 0

| accepted

i am new to matlab and i want to learn, can anyone help me with this please!!!

2 days ago | 0

| accepted

Boundary/polygon around coastline of Greenland
You can get the coastline using the function contour. Read about it. [M,c] = contour(x,y,Z,[0 0]) ; % M has the coordinates yo...

2 days ago | 0

| accepted

Renaming a Excel file from an array
All_values=values; for i =1:numel(All_values) values=All_values(i) T = table(a{1,i}.time, oo{1,i}.signals.values, pp{...

2 days ago | 0

Symbolic Expression Error problem !
Proceed with loop. %% Numeric Value Code FFF = rand(8,2); TTT = rand(2,2); FFF = reshape(FFF, 4, 2, []); TTT = reshape(TT...

2 days ago | 0

| accepted

can anyone help me with this function.. i'm new to matlab and i need this for my research
You have to provide the inputs to the function. It seems you are either calling the function without providing inputs or running...

2 days ago | 0

function solve return 'Unable to perform assignment because the left and right sides have a different number of elements.'
hs_data = hs_Lderiv./1000; %meter t_data = t; %seconds dh = diff(hs_data); dt = diff(t_data); syms gamma dhdt = zeros(size(...

3 days ago | 1

How can I make the loop operation to give only 1 answer for each iteration? Here's my program that i tried out but it keeps giving me more than 2 answer of each iteration.
f=0; while f<0.1 f=f+0.0000001; Re=10^((1/sqrt(f)+0.537)/1.930)/sqrt(f); count = 0 ; for x=25000:-5000:500...

3 days ago | 0

Waves mode summation for a string
xs=8; v=3; L=20; ta=0.2; t=1; n=1:1:40; x=0:0.1:20; omga = zeros(1,length(n)) ; F = zeros(1,length(n)) ; u = zeros(le...

3 days ago | 0

| accepted

Subs command substituting the values of variables that was earlier define symbolic but when I am using plot command error message came "Non numeric data"
Convert the symbolic class into double using the function double. Read about it.

3 days ago | 0

| accepted

how can i make an axis logarithmic

4 days ago | 0

Split a vector into 2 vector before and after a value is found
a=[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8] ; val = 0.5 ; idx = find(a==val) ; a1 = a(1:idx-1) a2 = a(idx:end)

4 days ago | 0

| accepted

How to add two different vectors?
x = 0:1:10000; y = 2*x; z = linspace(0.1,1,length(x)); % make z same size as x, so use linspace x_n = x + z; y_n = 2*...

4 days ago | 0

What is wrong in my coding?
clc; clear all ; %%Q1a clear;clc; % Get the span of the beam along with positions of supports l = input('Enter the span ...

4 days ago | 0

How to concatenate selected data of two .mat files
Let A, B be your tables. C = A ; C.last = B.(10) ; % instead of last you give your required name

4 days ago | 0

Coin toss simulation test
n = 1000 ; % number of tosses H = 0 ; % initialize Head count T = 0 ; % initialize Tails count % loop of toss for i ...

4 days ago | 0

| accepted

data of corresponding column
idx = columnA > 600 ; iwant = sum(columnB(idx)) ;

4 days ago | 0

How to sort and save the sorted table in app designer?
idx = randperm(10)' ; x = rand(10,1) ; T = table(idx,x) [val,idx] = sort(T.(1)) ; T = T(idx,:)

4 days ago | 0

Animation using multiple frames/figures in for loop
frame = 20; % Load density data n = load([Dir '/ne' num2str(frame) '.txt']); %this is my total denisty % Load X and Y data ...

4 days ago | 0

| accepted

Calculate the velocity for each time increment using displacement and time using a for loop?

4 days ago | 1