Statistics
RANK
1,732
of 295,495
REPUTATION
38
CONTRIBUTIONS
2 Questions
18 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
8
RANK
of 20,240
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How can I store a value from each iteration of a for loop, ready for plotting?
you can store values like this. height = 150; velocity = 0; acceleration = -9.81; bounce_factor = -0.4; ...
7 years ago | 1
Find min in matrix given specific rows and columns?
You can use this. minRow = min(min(A(r, :))); minCol = min(min(A(:, c)));
7 years ago | 0
Find a particular value in an Excel sheet (Activex or xlsread?)
You can get the index below way. [~,txt,~] = xlsread('Filename'); [row,col] = find(cellfun('length',regexp(txt,'31.5 H...
7 years ago | 3
| accepted
s2y not working for 4x4 matrix
I think its because you are passing 3x3 matrix. As per the s2t function guideline input supposed to be 2x2 matrix. s2t
7 years ago | 0
Question
How to get the order of Simulink blocks based on their pin connection
How to get the order of Simulink blocks based on their pin connection. For Example: From attached Simulink model (This mode...
8 years ago | 1 answer | 0
1
answerI need command to close simulink project window after launching simulink project file in matlab 2015b??
You can use close_system command to close Simulink system. close_system('SystemName');
8 years ago | 0
Cannot change "MaskValues" parameter
Hi, Please try to get the object of the block and assign the properties and check. oBlock = eval(LED); oBlock.SetPr...
8 years ago | 0
How to compare elements of two different cell array?
You can use ismember function to compare two cells. <https://de.mathworks.com/help/matlab/ref/ismember.html>
8 years ago | 0
How to save results of a Class-Based Unittest without ToFile Plugin?
Create a test class with test cases classdef Test_Class < matlab.unittest.TestCase Then import the the test classes to ...
8 years ago | 0
| accepted
Question
How to get Command Window format for existing 'Cell Arrays'
I have a Cell-array created and i want to get the command window format for that cell-array. For example: I have created a 5x...
8 years ago | 2 answers | 0
2
answersA loop within a loop (for or if)
Hi, I didn't get exactly what you are trying to do. Hope this works. Cm = [Cm1 Cm2 Cm3]; P = 3000 for i=1:3 % B...
8 years ago | 0
How to loop over a function again?
HI, You are not returning any output from the function loop. function [ShortestPath, TotalCost] = loop(N) global ...
8 years ago | 0
how can i get a number from a string.
HI, Suppose A = 'index_N=10', then you can get value of index_N by using eval(A); it gives index_N = 10 as output...
8 years ago | 0
Simple problem using for loop/array
Hi, Please use this. It gives the output as you have requested above. clc; A=0.4; % bond albedo AU=1....
8 years ago | 0
| accepted
what does line9 ( Newsol.x=pop(S).x.*(1-Cr)+sol.x.*Cr; ) do?
Hi, Line number 9 just assigns new vales to Newsol.x. It means the output sol.x will have a new value (Newsol.x) func...
8 years ago | 0
how to write the formula ?
HI, Please do the following changes and check. x = (b/ (1.2 + 0.01)); x = fix(x); y = (c / (0.6 + 0.01)); ...
8 years ago | 0
Why can't I add title to plot in R2013a?
Hi, Normally for title title(str) title(str,Name,Value) title(ax,___) but the value of lgd = legend('Exam...
8 years ago | 0
| accepted
I am triying to rearranging the matrix and form one as explained below
Hi, Hope this below piece of code will help you. aSize = size(A); initialValue = A(1); count = 1; temp=[]; f...
8 years ago | 0
| accepted
Object Oriented Programming, programming a subclass of a handle class
This is the structure. classdef CellArray < handle properties %Write the properties if you want to use any EX: strName en...
8 years ago | 0
Solved
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
8 years ago