Community Profile

photo

Sudharsana Iyengar


MSRUAS

Last seen: circa 2 mesi fa Attivo dal 2013

Faculty: Asst Prof

Statistiche

All
  • MATLAB Flipbook Mini Hack Participant
  • MATLAB Mini Hack Participant
  • Thankful Level 2
  • Knowledgeable Level 2
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Personal Best Downloads Level 1
  • First Submission
  • Treasure Hunt Participant
  • Commenter
  • Community Group Solver
  • Draw Letters

Visualizza badge

Content Feed

Visto da

Risolto


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

oltre un anno fa

Risolto


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

quasi 2 anni fa

Risolto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

quasi 2 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

quasi 2 anni fa

Risolto


Find the max element of the array
Find the max element of the array

quasi 2 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

quasi 2 anni fa

Risolto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

quasi 2 anni fa

Risolto


to the 2 all elements
to the 2 all elements

quasi 2 anni fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

quasi 2 anni fa

Risolto


Double all elements in the array
Duplicate all elements in the array

quasi 2 anni fa

Risolto


calculate the length of matrix
input 1 array, calculate the length

quasi 2 anni fa

Risolto


Draw a '0' in a one matrix!

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risposto
How to solve for dI/dz differential equation using runge kutta 4th order method?
use ode45 create a function of your diffrential equations and use ODE 45. This is an example, do a similar for yours. funct...

oltre 2 anni fa | 0

Risposto
question about result in matlab
Try this syms A B C D E F eqn1= A - 0.25*E == 6.25; eqn2=B-0.25*F-0.25*D == 4.45; eqn3=C-0.25*E == 6.8; eqn4=D-0.25*B==5....

oltre 2 anni fa | 0

| accettato

Risposto
Error: Index exceeds array bounds.
Can you check the Size of W. and see what W(1) contains. mod_MulInverse(i)=Column1(i); %working mod_MulInverse(i)=W(1);% ...

oltre 2 anni fa | 0

Risposto
function call and getting array error
U_s_x is a 4x9x9 matrix but U_px is 1x2 matrix. So there is no U_px(3,4) did you check on that. U_s_x(i,j,k)=U_p...

oltre 2 anni fa | 0

| accettato

Risposto
Arrays have incompatible sizes for this operation.
Hi in your program you have A which is size 100 and B that is size 400. Thats is why this issue. Change your program to this. ...

oltre 2 anni fa | 0

Risposto
how to arrange vector to matrix?
You can try using the functions perms. or if you want cyclic permutations x=[1,2,3,4,5,6]; v=perms(x) X=[1,2,3,4,5,6]; V=[...

oltre 2 anni fa | 0

Risposto
2D wave direction Plot with Arrow
You can use the in built quiver function which is in Matlab. For instance when you want to plot the wind direction in a given re...

oltre 2 anni fa | 0

| accettato

Risposto
Moving x and y of a picture and transfr color
Do you want to perform a PCA in 3D. You can use hyperpca command in Image Processing tool box. It is not clear to me what you ...

oltre 2 anni fa | 0

Risposto
Please explain the following code for me !!!
You have generated code using generate code in the file menu of your figure. So next time when you want to make a figure of th...

oltre 2 anni fa | 0

| accettato

Risposto
How to use imageDatastore function to train model on .mat file dataset?
General Tutorial: https://in.mathworks.com/matlabcentral/fileexchange/99779-neural-network-and-knn-algorithm-tutorial-with-matl...

oltre 2 anni fa | 0

Risposto
Beginner Question 5x5 Matrix
@Kutay Furkan AKALIN consider accepting answer so that it is closed. @Steven Lord that is an amazing discovery.

oltre 2 anni fa | 0

Risposto
load dat file in matlab
You can try readtable T=readtable('somefile.dat')

oltre 2 anni fa | 0

| accettato

Risposto
Interleaved repmat (row duplication)
Try this A=[1,0,0; 0 0 1; 1 1 1;]; k=1; for i =1:3 T(k:k+1,:)=repmat(A(i,:),2,1); k=k+2; end T

oltre 2 anni fa | 0

Risposto
How to turn off X axis while keeping the X axis grid lines?
Hi Please try this and see if this is what you wanted. grid on set(gca,'Xticklabel',{})

oltre 2 anni fa | 1

| accettato

Risposto
grouping values that as need
An example: x=linspace(1,60,60); k=1; for i =1:6:length(x) B(k,1:6)=x(i:i+5) %; add this semicolon if you dont want this t...

oltre 2 anni fa | 1

| accettato

Risposto
How to turn off X axis while keeping the X axis grid lines?
grid on set(gca,'Xtick',[],'Ytick',[])

oltre 2 anni fa | 0

Risposto
Draw the graph by calling the script
Ok let me give you a simple script that will do this work for you. function drawscript(x,y) plot(x,y) set(gca,'TickLength',[...

oltre 2 anni fa | 0

Carica altro